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.
|
||||
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
|
||||
description: A starting point for Dart libraries or applications.
|
||||
version: 1.0.0
|
||||
publish_to: 'none'
|
||||
# repository: https://github.com/my_org/my_repo
|
||||
|
||||
environment:
|
||||
@@ -8,8 +9,9 @@ environment:
|
||||
|
||||
|
||||
dependencies:
|
||||
rasadyar_core:
|
||||
path: ../core
|
||||
|
||||
rasadyar_core:
|
||||
path: ../core
|
||||
##code generation
|
||||
freezed_annotation: ^3.0.0
|
||||
json_annotation: ^4.9.0
|
||||
|
||||
@@ -2,15 +2,5 @@ import 'package:livestock/livestock.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
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