OLD | NEW |
1 #!/bin/sh | 1 #!/bin/bash |
2 | 2 |
3 set -e | 3 set -e |
4 | 4 |
5 . $(dirname $0)/env.sh | 5 . $(dirname $0)/env.sh |
6 | 6 |
| 7 echo '===========' |
| 8 echo '== BUILD ==' |
| 9 echo '===========' |
| 10 |
7 OUT=tmp/all.dart | 11 OUT=tmp/all.dart |
8 mkdir -p tmp | 12 mkdir -p tmp |
9 | 13 |
10 $DARTANALYZER --version | 14 $DARTANALYZER --version |
11 | 15 |
12 echo // generated file > $OUT | 16 echo // generated file > $OUT |
13 | 17 |
14 for FILE in $(ls lib/angular.dart \ | 18 for FILE in $(ls lib/angular.dart \ |
15 perf/*_perf.dart \ | 19 perf/*_perf.dart \ |
16 test/*_spec.dart \ | 20 test/*_spec.dart \ |
17 test/*/*_spec.dart \ | 21 test/*/*_spec.dart \ |
18 lib/change_detection/change_detection.dart \ | 22 lib/change_detection/change_detection.dart \ |
19 lib/change_detection/dirty_checking_change_detector.dart \ | 23 lib/change_detection/dirty_checking_change_detector.dart \ |
20 lib/change_detection/watch_group.dart \ | 24 lib/change_detection/watch_group.dart \ |
21 ) | 25 ) |
22 do | 26 do |
23 echo export \'../$FILE\' hide main, NestedRouteInitializer\; >> $OUT | 27 echo export \'../$FILE\' hide main, NestedRouteInitializer\; >> $OUT |
24 done | 28 done |
25 | 29 |
26 $(dirname $0)/generate-expressions.sh | 30 $NGDART_SCRIPT_DIR/generate-expressions.sh |
27 | 31 |
28 $DARTANALYZER $OUT | 32 $DARTANALYZER $OUT |
OLD | NEW |