Created
April 3, 2013 15:35
-
-
Save shamrin/5302309 to your computer and use it in GitHub Desktop.
Makefile parameters
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
test: | |
# Usage: | |
# $ make test TEST="grep pattern" | |
ifdef TEST | |
env TESTING=1 mocha --compilers coffee:coffee-script -u tdd -g "$(TEST)" | |
else | |
env TESTING=1 mocha --compilers coffee:coffee-script -u tdd | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment