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

Side by Side Diff: third_party/pkg/angular/analyze.sh

Issue 148453003: Updating Angular version (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2 echo DEPRECATED: use ./scripts/analyze.sh
3 DART_ANALYSER_BIN=`which dartanalyzer` 3 $(dirname $0)/scripts/analyze.sh
4
5 # OS-specific Dartium path defaults
6 if [ -z $DART_ANALYSER_BIN ]; then
7 case $( uname -s ) in
8 Darwin)
9 DART_ANALYSER_BIN=/Applications/dart/dart-sdk/bin/dartanalyzer
10 ;;
11 Linux)
12 DART_ANALYSER_BIN=/opt/dart-sdk/bin/dartanalyzer
13 esac
14 fi
15
16 OUT=tmp/all.dart
17 mkdir -p tmp
18
19 $DART_ANALYSER_BIN --version
20
21 echo // generated file > $OUT
22
23 for FILE in $(ls lib/angular.dart perf/*_perf.dart test/*_spec.dart test/*/*_spe c.dart)
24 do
25 echo export \'../$FILE\' hide main, NestedRouteInitializer\; >> $OUT
26 done
27
28 ./generate.sh && $DART_ANALYSER_BIN $OUT
OLDNEW
« no previous file with comments | « third_party/pkg/angular/REVISION ('k') | third_party/pkg/angular/bin/parser_generator_for_spec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698