2017-06-10 15:24:36 +00:00
|
|
|
// Grinder is not part of Angel, but you may consider using it
|
|
|
|
// to run tasks, a la Gulp.
|
|
|
|
//
|
|
|
|
// See its documentation here:
|
|
|
|
// https://github.com/google/grinder.dart
|
|
|
|
|
2016-09-17 19:51:29 +00:00
|
|
|
import 'package:grinder/grinder.dart';
|
|
|
|
|
|
|
|
main(args) => grind(args);
|
|
|
|
|
|
|
|
@Task()
|
|
|
|
test() => new TestRunner().testAsync();
|
|
|
|
|
|
|
|
@DefaultTask()
|
|
|
|
@Depends(test)
|
|
|
|
build() {
|
|
|
|
Pub.build();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Task()
|
2016-09-21 04:45:40 +00:00
|
|
|
clean() => defaultClean();
|