File tree 6 files changed +12
-25
lines changed 6 files changed +12
-25
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
- tests=$1
3
- if [[ $tests = " " ]]; then
4
- tests=" all"
5
- fi
6
-
7
- java -Xmx1g -jar lib/jstestdriver/JsTestDriver.jar --config jsTestDriver-coverage.conf --testOutput=tmp/lcov --tests " $tests "
2
+ java -Xmx1g -jar lib/jstestdriver/JsTestDriver.jar --config jsTestDriver-coverage.conf --testOutput=tmp/lcov --tests all $@
8
3
genhtml -o tmp/coverage-html/ tmp/lcov/jsTestDriver.conf-coverage.dat
9
4
echo " done! check out tmp/coverage-html/index.html"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- tests=$1
3
- norecompile=$2
4
2
5
- if [[ $tests = " " ]]; then
6
- tests=" all"
7
- fi
3
+ norecompile=$1
8
4
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
6
2
7
- java -jar lib/jstestdriver/JsTestDriver.jar --tests " $tests " --config jsTestDriver-scenario.conf --reset
3
+ java -jar lib/jstestdriver/JsTestDriver.jar --tests " all " --config jsTestDriver-scenario.conf --reset
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- tests= $1
3
- if [[ $tests = " " ]] ; then
4
- tests= " all"
2
+ if [ ! -e test.dissable ] ; then
3
+ java -jar lib/jstestdriver/JsTestDriver.jar --tests all $@
4
+ # java -jar lib/jstestdriver/JsTestDriver.jar -- tests all --config jsTestDriver-jquery.conf $@
5
5
fi
6
-
7
- java -jar lib/jstestdriver/JsTestDriver.jar --tests " $tests "
8
- # java -jar lib/jstestdriver/JsTestDriver.jar --tests "$tests" --config jsTestDriver-jquery.conf
You can’t perform that action at this time.
0 commit comments