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

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

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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
(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

Powered by Google App Engine
This is Rietveld 408576698