Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: third_party/pkg/angular/scripts/test-expression-extractor.sh

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pkg/angular/scripts/run-test.sh ('k') | third_party/pkg/angular/scripts/travis/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/scripts/test-expression-extractor.sh
diff --git a/third_party/pkg/angular/scripts/test-expression-extractor.sh b/third_party/pkg/angular/scripts/test-expression-extractor.sh
index 2676828c3e1d1f75f92ec409ed907c206794d8f7..9c2ada1fbca0c413fc2446558adbbfbd044ec685 100755
--- a/third_party/pkg/angular/scripts/test-expression-extractor.sh
+++ b/third_party/pkg/angular/scripts/test-expression-extractor.sh
@@ -2,15 +2,20 @@
set -e
-(cd demo/todo; pub get)
+. $(dirname $0)/env.sh
+
+(cd $NGDART_BASE_DIR/example; pub get)
+
+rm -rf xxx.dart
OUT=$(mktemp XXX.dart)
-dart bin/expression_extractor.dart demo/todo/main.dart demo/todo /dev/null /dev/null $OUT
+$DART --package-root=example/packages bin/expression_extractor.dart \
+ example/web/todo.dart example /dev/null /dev/null $OUT
if [[ -e $OUT ]]; then
echo "Expression extractor created an output file"
- rm $OUT
+ rm -rf $OUT
exit;
fi;
« no previous file with comments | « third_party/pkg/angular/scripts/run-test.sh ('k') | third_party/pkg/angular/scripts/travis/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698