| OLD | NEW |
| 1 import 'dart:async'; | 1 import 'dart:async'; |
| 2 import 'dart:io'; | 2 import 'dart:io'; |
| 3 import 'package:hop/hop.dart'; | 3 import 'package:hop/hop.dart'; |
| 4 import 'package:hop/hop_tasks.dart'; | 4 import 'package:hop/hop_tasks.dart'; |
| 5 import '../test/console_test_harness.dart' as test_console; | 5 import '../test/console_test_harness.dart' as test_console; |
| 6 | 6 |
| 7 void main(List<String> args) { | 7 void main(List<String> args) { |
| 8 | 8 |
| 9 addTask('test', createUnitTestTask(test_console.main)); | 9 addTask('test', createUnitTestTask(test_console.main)); |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 runHop(args); | 30 runHop(args); |
| 31 } | 31 } |
| 32 | 32 |
| 33 | 33 |
| 34 Future<List<String>> _getLibs() { | 34 Future<List<String>> _getLibs() { |
| 35 return new Directory('lib').list() | 35 return new Directory('lib').list() |
| 36 .where((FileSystemEntity fse) => fse is File) | 36 .where((FileSystemEntity fse) => fse is File) |
| 37 .map((File file) => file.path) | 37 .map((File file) => file.path) |
| 38 .toList(); | 38 .toList(); |
| 39 } | 39 } |
| OLD | NEW |