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

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

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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
« no previous file with comments | « third_party/pkg/angular/karma.conf.js ('k') | third_party/pkg/angular/lib/angular.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 # OS-specific Dartium path defaults
4 case $( uname -s ) in
5 Darwin)
6 CHROME_CANARY_BIN=${CHROME_CANARY_BIN:-"/Applications/dart/chromium/Chromium .app/Contents/MacOS/Chromium"};;
7 esac
8
9 # Check for node
10 if [ -z "$(which node)" ]; then
11 echo "node.js does not appear to be on the path."
12 echo "You can obtain it from http://nodejs.org"
13 exit 1;
14 fi
15
16 # Check for karma
17 KARMA_PATH="node_modules/karma/bin/karma"
18 if [ ! -e "$KARMA_PATH" ]; then
19 echo "karma does not appear to be installed. Installing:"
20 npm install
21 fi
22
23 dartanalyzer lib/angular.dart && node $KARMA_PATH run --port=8765
OLDNEW
« no previous file with comments | « third_party/pkg/angular/karma.conf.js ('k') | third_party/pkg/angular/lib/angular.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698