Skip to content

Instantly share code, notes, and snippets.

@timReynolds
Created May 6, 2013 16:35
Show Gist options
  • Save timReynolds/5526268 to your computer and use it in GitHub Desktop.
Save timReynolds/5526268 to your computer and use it in GitHub Desktop.
Mocha Makefile
REPORTER = dot
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
test-w:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--growl \
--watch
.PHONY: test test-w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment