mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
20 lines
403 B
Makefile
20 lines
403 B
Makefile
TEST_TIMEOUT = 2000
|
|
TEST_REPORTER = spec
|
|
|
|
dist/difflib-browser.js: lib/difflib.js util/build.coffee
|
|
@util/build.coffee
|
|
|
|
lib/difflib.js: src/difflib.coffee
|
|
@coffee -c -o lib src
|
|
|
|
test:
|
|
@NODE_ENV=test \
|
|
node_modules/.bin/mocha \
|
|
--ui qunit \
|
|
--require should \
|
|
--timeout $(TEST_TIMEOUT) \
|
|
--reporter $(TEST_REPORTER) \
|
|
--compilers coffee:coffee-script \
|
|
test/*.coffee
|
|
|
|
.PHONY: test
|