From d3b806c68dfa2d16b94f33888a75d220ffb91fe4 Mon Sep 17 00:00:00 2001 From: richo Date: Sat, 16 Mar 2013 02:26:31 +1100 Subject: [PATCH] Create the node_modules directory if needed when you run the tests --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e390fc67..bca313fb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ -test: +test: node_modules ./node_modules/.bin/mocha -R spec -t 10000 -.PHONY: test \ No newline at end of file +node_modules: package.json + npm install + +.PHONY: test