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