Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 24 lines (19 sloc) 0.498 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
build_dir:
@mkdir -p "build"

rhino: build_dir
@echo "Building JSHint for Rhino"
@echo "#!/usr/bin/env rhino" > "build/jshint-rhino.js"
@cat "jshint.js" "env/rhino.js" >> "build/jshint-rhino.js"
-@chmod +x "build/jshint-rhino.js"
@echo "Done"

test:
@echo "Running unit tests"
@expresso tests/unit/*.js
@echo "Running regression tests"
@expresso tests/regression/*.js

cover:
@echo "Start coverage"
@tests/helpers/coveraje.js

clean:
@echo "Cleaning"
@rm -f build/*.js && echo "Done"
Something went wrong with that request. Please try again.