feat : project structure
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
import 'package:livestock/livestock.dart';
|
|
||||||
|
|
||||||
void main() {
|
|
||||||
var awesome = Awesome();
|
|
||||||
print('awesome: ${awesome.isAwesome}');
|
|
||||||
}
|
|
||||||
@@ -3,6 +3,4 @@
|
|||||||
/// More dartdocs go here.
|
/// More dartdocs go here.
|
||||||
library;
|
library;
|
||||||
|
|
||||||
export 'src/livestock_base.dart';
|
|
||||||
|
|
||||||
// TODO: Export any libraries intended for clients of this package.
|
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
// TODO: Put public facing types in this file.
|
|
||||||
|
|
||||||
/// Checks if you are awesome. Spoiler: you are.
|
|
||||||
class Awesome {
|
|
||||||
bool get isAwesome => true;
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
name: livestock
|
name: livestock
|
||||||
description: A starting point for Dart libraries or applications.
|
description: A starting point for Dart libraries or applications.
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
|
publish_to: 'none'
|
||||||
# repository: https://github.com/my_org/my_repo
|
# repository: https://github.com/my_org/my_repo
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
@@ -8,6 +9,7 @@ environment:
|
|||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
||||||
rasadyar_core:
|
rasadyar_core:
|
||||||
path: ../core
|
path: ../core
|
||||||
##code generation
|
##code generation
|
||||||
|
|||||||
@@ -2,15 +2,5 @@ import 'package:livestock/livestock.dart';
|
|||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
group('A group of tests', () {
|
|
||||||
final awesome = Awesome();
|
|
||||||
|
|
||||||
setUp(() {
|
|
||||||
// Additional setup goes here.
|
|
||||||
});
|
|
||||||
|
|
||||||
test('First Test', () {
|
|
||||||
expect(awesome.isAwesome, isTrue);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user