OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 set -e # bail on error | 2 set -e # bail on error |
3 | 3 |
4 cd $( dirname "${BASH_SOURCE[0]}" )/.. | 4 cd $( dirname "${BASH_SOURCE[0]}" )/.. |
5 | 5 |
6 mkdir -p gen/codegen_output/pkg/ | 6 mkdir -p gen/codegen_output/pkg/ |
7 | 7 |
8 SDK=--dart-sdk-summary=lib/js/amd/dart_sdk.sum | 8 SDK=--dart-sdk-summary=lib/js/amd/dart_sdk.sum |
9 | 9 |
10 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/expect.js \ | 10 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/expect.js \ |
11 --url-mapping=package:expect/expect.dart,test/codegen/expect.dart \ | |
12 package:expect/expect.dart | 11 package:expect/expect.dart |
13 | 12 |
14 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/async_helper.js \ | 13 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/async_helper.js \ |
15 --url-mapping=package:async_helper/async_helper.dart,test/codegen/async_help
er.dart \ | 14 --url-mapping=package:async_helper/async_helper.dart,test/codegen/async_help
er.dart \ |
16 package:async_helper/async_helper.dart | 15 package:async_helper/async_helper.dart |
17 | 16 |
| 17 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/minitest.js \ |
| 18 --url-mapping=package:minitest/minitest.dart,test/codegen/minitest.dart \ |
| 19 package:minitest/minitest.dart |
| 20 |
18 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/js.js \ | 21 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/js.js \ |
19 package:js/js.dart | 22 package:js/js.dart |
20 | 23 |
21 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/matcher.js \ | 24 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/matcher.js \ |
22 package:matcher/matcher.dart | 25 package:matcher/matcher.dart |
23 | 26 |
24 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/path.js \ | 27 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/path.js \ |
25 package:path/path.dart | 28 package:path/path.dart |
26 | 29 |
27 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/stack_trace.js \ | 30 ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/stack_trace.js \ |
28 -s gen/codegen_output/pkg/path.sum \ | 31 -s gen/codegen_output/pkg/path.sum \ |
29 package:stack_trace/stack_trace.dart | 32 package:stack_trace/stack_trace.dart |
30 | 33 |
31 ./bin/dartdevc.dart $SDK --unsafe-force-compile \ | 34 ./bin/dartdevc.dart $SDK --unsafe-force-compile \ |
32 -o gen/codegen_output/pkg/unittest.js \ | 35 -o gen/codegen_output/pkg/unittest.js \ |
33 -s gen/codegen_output/pkg/matcher.sum \ | 36 -s gen/codegen_output/pkg/matcher.sum \ |
34 -s gen/codegen_output/pkg/path.sum \ | 37 -s gen/codegen_output/pkg/path.sum \ |
35 -s gen/codegen_output/pkg/stack_trace.sum \ | 38 -s gen/codegen_output/pkg/stack_trace.sum \ |
36 package:unittest/unittest.dart \ | 39 package:unittest/unittest.dart \ |
37 package:unittest/html_config.dart \ | 40 package:unittest/html_config.dart \ |
38 package:unittest/html_individual_config.dart \ | 41 package:unittest/html_individual_config.dart \ |
39 package:unittest/html_enhanced_config.dart | 42 package:unittest/html_enhanced_config.dart |
OLD | NEW |