Last active
December 20, 2015 23:59
-
-
Save blissdev/6217093 to your computer and use it in GitHub Desktop.
`bootstrap.js` outputs a string of commands to be run before the test. `eval` works in the terminal but not in Make.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORTER = dot | |
test: | |
@eval $(NODE_ENV=test node test/bootstrap/bootstrap.js) | |
@NODE_ENV=test ./node_modules/.bin/mocha test/* \ | |
--reporter $(REPORTER) \ | |
--watch | |
testw: | |
@NODE_ENV=test ./node_modules/.bin/mocha test/* \ | |
--reporter $(REPORTER) \ | |
--watch | |
.PHONY: test testw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment