diff --git a/pubspec.lock b/pubspec.lock index 3308589..8b03cf0 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -87,6 +87,13 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.2.0-nullsafety.1" + cli_util: + dependency: transitive + description: + name: cli_util + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.2.0" clock: dependency: transitive description: @@ -268,6 +275,20 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "3.15.0" + glob: + dependency: transitive + description: + name: glob + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.2.0" + grinder: + dependency: "direct dev" + description: + name: grinder + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.8.6" highlight: dependency: transitive description: @@ -338,6 +359,13 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "0.6.3" + js: + dependency: transitive + description: + name: js + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.6.2" logger: dependency: "direct main" description: @@ -366,6 +394,20 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "0.0.4" + node_interop: + dependency: transitive + description: + name: node_interop + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.2.1" + node_io: + dependency: transitive + description: + name: node_io + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.2.0" path: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 1099628..7ba30c5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -65,6 +65,7 @@ dev_dependencies: flutter_test: sdk: flutter import_sorter: + grinder: flutter: uses-material-design: true diff --git a/tool/grind.dart b/tool/grind.dart new file mode 100644 index 0000000..707ddd6 --- /dev/null +++ b/tool/grind.dart @@ -0,0 +1,15 @@ +import 'package:grinder/grinder.dart'; + +main(args) => grind(args); + +@Task() +test() => new TestRunner().testAsync(); + +@DefaultTask() +@Depends(test) +build() { + Pub.build(); +} + +@Task() +clean() => defaultClean();