Makefile 403 B

1234567891011121314151617181920
  1. TEST_TIMEOUT = 2000
  2. TEST_REPORTER = spec
  3. dist/difflib-browser.js: lib/difflib.js util/build.coffee
  4. @util/build.coffee
  5. lib/difflib.js: src/difflib.coffee
  6. @coffee -c -o lib src
  7. test:
  8. @NODE_ENV=test \
  9. node_modules/.bin/mocha \
  10. --ui qunit \
  11. --require should \
  12. --timeout $(TEST_TIMEOUT) \
  13. --reporter $(TEST_REPORTER) \
  14. --compilers coffee:coffee-script \
  15. test/*.coffee
  16. .PHONY: test