Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 # bail on error | 6 # bail on error |
| 7 set -e | 7 set -e |
| 8 source update.sh | 8 source update.sh |
| 9 | 9 |
| 10 update "di" "https://github.com/angular/di.dart" | 10 update "di" "https://github.com/angular/di.dart" |
| 11 | 11 |
| 12 echo "*** Generating static injector test files" | 12 echo "*** Generating static injector test files" |
| 13 pushd di > /dev/null | 13 pushd di > /dev/null |
| 14 | 14 |
| 15 pub install | 15 pub install |
| 16 DART_SDK=../../../out/ReleaseIA32/dart-sdk | 16 DART_SDK=../../../out/ReleaseIA32/dart-sdk |
| 17 $DART_SDK/bin/dart \ | 17 $DART_SDK/bin/dart \ |
| 18 --package-root=$DART_SDK/../packages/ \ | 18 --package-root=$DART_SDK/../packages/ \ |
| 19 bin/generator.dart \ | 19 bin/generator.dart \ |
| 20 $DART_SDK/ \ | 20 $DART_SDK/ \ |
| 21 test/main.dart \ | 21 test/main.dart \ |
| 22 di.tests.Injectable \ | 22 di.tests.Injectable \ |
| 23 test/type_factories_gen.dart \ | 23 test/type_factories_gen.dart \ |
| 24 packages/ | 24 packages/ |
| 25 | 25 |
| 26 echo "$(tput setaf 1)di/test/type_factories_gen.dart regenerated, \ | |
| 27 requires manual fixup of imports.$(tput sgr0)" | |
|
Siggi Cherem (dart-lang)
2014/02/26 18:18:12
let's add a comment above this to indicate what th
blois
2014/02/26 18:35:26
Added comment- benefit (as I understand) of using
| |
| 28 | |
| 26 echo "*** Cleaning up packages" | 29 echo "*** Cleaning up packages" |
| 27 rm -rf packages | 30 rm -rf packages |
| OLD | NEW |