OLD | NEW |
---|---|
1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
2 import 'dart:io'; | 2 import 'dart:io'; |
3 | 3 |
4 import 'package:path/path.dart' as p; | 4 import 'package:path/path.dart' as p; |
5 | 5 |
6 import 'package:dev_compiler/src/compiler/command.dart'; | 6 import 'package:dev_compiler/src/compiler/command.dart'; |
7 | 7 |
8 final String scriptDirectory = p.dirname(p.fromUri(Platform.script)); | 8 final String scriptDirectory = p.dirname(p.fromUri(Platform.script)); |
9 String outputDirectory; | 9 String outputDirectory; |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... | |
36 compileModule('expect', libs: ['minitest']); | 36 compileModule('expect', libs: ['minitest']); |
37 compileModule('js', libs: ['js_util']); | 37 compileModule('js', libs: ['js_util']); |
38 compileModule('meta'); | 38 compileModule('meta'); |
39 if (isTravis) { | 39 if (isTravis) { |
40 compileModule('lookup_map'); | 40 compileModule('lookup_map'); |
41 compileModule('microlytics', libs: ['html_channels']); | 41 compileModule('microlytics', libs: ['html_channels']); |
42 compileModule('typed_mock'); | 42 compileModule('typed_mock'); |
43 } | 43 } |
44 | 44 |
45 // Under third_party/pkg. | 45 // Under third_party/pkg. |
46 compileModule('collection'); | 46 compileModule('collection', unsafeForceCompile: true); |
vsm
2017/07/19 17:19:04
This will probably break dartdevc snapshot generat
Jennifer Messerly
2017/07/20 19:15:50
done
| |
47 compileModule('matcher'); | 47 compileModule('matcher'); |
48 compileModule('path'); | 48 compileModule('path'); |
49 if (isTravis) { | 49 if (isTravis) { |
50 compileModule('args', libs: ['command_runner']); | 50 compileModule('args', libs: ['command_runner']); |
51 compileModule('charcode'); | 51 compileModule('charcode'); |
52 compileModule('fixnum'); | 52 compileModule('fixnum'); |
53 compileModule('logging'); | 53 compileModule('logging'); |
54 compileModule('markdown'); | 54 compileModule('markdown'); |
55 compileModule('mime'); | 55 compileModule('mime'); |
56 compileModule('plugin', libs: ['manager']); | 56 compileModule('plugin', libs: ['manager']); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
109 // but I'm not sure how they'll affect the other non-DDC tests. For now, just | 109 // but I'm not sure how they'll affect the other non-DDC tests. For now, just |
110 // use ours. | 110 // use ours. |
111 if (module == 'async_helper') { | 111 if (module == 'async_helper') { |
112 args.add('--url-mapping=package:async_helper/async_helper.dart,' + | 112 args.add('--url-mapping=package:async_helper/async_helper.dart,' + |
113 p.join(scriptDirectory, "../test/codegen/async_helper.dart")); | 113 p.join(scriptDirectory, "../test/codegen/async_helper.dart")); |
114 } | 114 } |
115 | 115 |
116 var exitCode = compile(args); | 116 var exitCode = compile(args); |
117 if (exitCode != 0) exit(exitCode); | 117 if (exitCode != 0) exit(exitCode); |
118 } | 118 } |
OLD | NEW |