Created
November 12, 2012 04:00
-
-
Save shanestillwell/4057439 to your computer and use it in GitHub Desktop.
Makefile for MochaJS
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
all: test | |
test: ; | |
@export NODE_PATH=/usr/local/lib/node_modules; \ | |
mocha | |
test-w: ; | |
@export NODE_PATH=/usr/local/lib/node_modules; \ | |
mocha -w | |
test-doc: ; | |
@export NODE_PATH=/usr/local/lib/node_modules; \ | |
mocha -R doc | |
.PHONY: test test-w test-doc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment