File tree 5 files changed +13
-17
lines changed
5 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 2
2
angularjs.netrc
3
3
jstd.log
4
4
.DS_Store
5
+ gen_docs.disable
6
+ test.disable
5
7
regression /temp * .html
6
8
performance /temp * .html
7
9
.idea /workspace.xml
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- . ~ /.bashrc
3
- node docs/spec/specs.js --noColor | grep -v ' /lib/jasmine' && node docs/src/gen-docs.js
2
+ if [ ! -e gen_docs.disable ]; then
3
+ /usr/bin/env node docs/spec/specs.js --noColor | grep -v ' /lib/jasmine' && node docs/src/gen-docs.js
4
+ fi
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
tests=$1
3
- if [[ $tests = " " ]]; then
4
- tests=" all"
5
- fi
6
3
7
- java -Xmx1g -jar lib/jstestdriver/JsTestDriver.jar --config jsTestDriver-coverage.conf --testOutput=tmp/lcov --tests " $tests "
4
+ java -Xmx1g -jar lib/jstestdriver/JsTestDriver.jar --config jsTestDriver-coverage.conf --testOutput=tmp/lcov --tests all $@
8
5
genhtml -o tmp/coverage-html/ tmp/lcov/jsTestDriver.conf-coverage.dat
9
6
echo " done! check out tmp/coverage-html/index.html"
Original file line number Diff line number Diff line change 2
2
tests=$1
3
3
norecompile=$2
4
4
5
- if [[ $tests = " " ]]; then
6
- tests=" all"
7
- fi
8
-
9
5
if [[ $norecompile = " " ]]; then
10
6
rake compile
11
7
fi
12
8
13
- java -jar lib/jstestdriver/JsTestDriver.jar --tests " $tests " --config jsTestDriver-perf.conf
9
+ java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-perf.conf $@
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- tests=$1
3
- if [[ $tests = " " ]]; then
4
- tests=" all"
5
- fi
2
+ if [ ! -e test.dissable ]; then
3
+ tests=$1
4
+
5
+ java -jar lib/jstestdriver/JsTestDriver.jar --tests all $@
6
+ # java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-jquery.conf $@
6
7
7
- java -jar lib/jstestdriver/JsTestDriver.jar --tests " $tests "
8
- # java -jar lib/jstestdriver/JsTestDriver.jar --tests "$tests" --config jsTestDriver-jquery.conf
8
+ fi
You can’t perform that action at this time.
0 commit comments