Skip to content

Instantly share code, notes, and snippets.

@guilhermegregio
Created August 2, 2013 17:29
Show Gist options
  • Save guilhermegregio/6141715 to your computer and use it in GitHub Desktop.
Save guilhermegregio/6141715 to your computer and use it in GitHub Desktop.
Exemplo de Makefile para projetos com nodejs e mocha
REPORTER = dot
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--ui tdd \
--check-leaks
test-w:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--growl \
--ui tdd \
--watch
.PHONY: test test-w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment