Commit | Line | Data |
---|---|---|
1 | build_dir: | |
2 | @mkdir -p "build" | |
3 | ||
4 | rhino: build_dir | |
5 | @echo "Building JSHint for Rhino" | |
6 | @cat "jshint.js" > "build/jshint-rhino.js" && \ | |
7 | cat "env/rhino.js" >> "build/jshint-rhino.js" && \ | |
8 | echo "Done" | |
9 | ||
10 | test: | |
11 | @echo "Running all tests" | |
12 | @expresso tests/*.js | |
13 | ||
14 | clean: | |
15 | @echo "Cleaning" | |
16 | @rm -f build/*.js && echo "Done" |