We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566b4ef commit 6eeb949Copy full SHA for 6eeb949
test.sh
@@ -2,9 +2,17 @@
2
3
set -e -o pipefail
4
5
-cd `dirname $0`
6
-export NODE_PATH=$NODE_PATH:$(pwd)/dist/all:$(pwd)/dist/tools
7
-$(npm bin)/tsc -p tools
8
-node dist/tools/tsc-watch/ node watch
9
-# node dist/tools/tsc-watch/ browser watch
10
-# node dist/tools/tsc-watch/ tools watch
+if [ $# -eq 0 ]
+ then
+ echo "Angular test runner. (No platform specified)"
+ echo
+ echo "./test.sh [node|browser|tools]"
11
+else
12
+ cd `dirname $0`
13
+ export NODE_PATH=$NODE_PATH:$(pwd)/dist/all:$(pwd)/dist/tools
14
+ $(npm bin)/tsc -p tools
15
+ node dist/tools/tsc-watch/ $1 watch
16
+fi
17
+
18
0 commit comments