OLD | NEW |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Check that node exists and refers to nodejs | 3 # Check that node exists and refers to nodejs |
4 checknodejs=$(hash node 2> /dev/null && node --help | grep js) | 4 checknodejs=$(hash node 2> /dev/null && node --help | grep js) |
5 if [[ $? -ne 0 ]]; then | 5 if [[ $? -ne 0 ]]; then |
6 echo 'NodeJS (node) is not properly installed' | 6 echo 'NodeJS (node) is not properly installed' |
7 echo 'Note, on Ubuntu / Debian, you may need to also install:' | 7 echo 'Note, on Ubuntu / Debian, you may need to also install:' |
8 echo '$ sudo apt-get install nodejs-legacy' | 8 echo '$ sudo apt-get install nodejs-legacy' |
9 exit 1 | 9 exit 1 |
10 fi | 10 fi |
(...skipping 17 matching lines...) Expand all Loading... | |
28 echo 'Please install and/or set CHROME_CANARY_BIN to its path' | 28 echo 'Please install and/or set CHROME_CANARY_BIN to its path' |
29 exit 1 | 29 exit 1 |
30 else | 30 else |
31 export CHROME_CANARY_BIN=google-chrome-unstable | 31 export CHROME_CANARY_BIN=google-chrome-unstable |
32 fi | 32 fi |
33 fi | 33 fi |
34 fi | 34 fi |
35 | 35 |
36 find test/codegen/expect/language/ -name "*.js" | sort | xargs cat > test/codege n/expect/language-all.js | 36 find test/codegen/expect/language/ -name "*.js" | sort | xargs cat > test/codege n/expect/language-all.js |
37 find test/codegen/expect/lib/typed_data/ -name "*.js" | sort | xargs cat > test/ codegen/expect/lib-typed_data-all.js | 37 find test/codegen/expect/lib/typed_data/ -name "*.js" | sort | xargs cat > test/ codegen/expect/lib-typed_data-all.js |
38 find test/codegen/expect/lib/html/ -name "*.js" | sort | xargs cat > test/codege n/expect/lib-html-all.js | |
vsm
2016/04/28 19:09:21
This is now obsolete. We run the individual files
Jacob
2016/04/28 19:30:21
Done.
| |
38 npm install | 39 npm install |
39 npm test | 40 npm test |
OLD | NEW |