Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'progtest/Makefile')
-rw-r--r--progtest/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/progtest/Makefile b/progtest/Makefile
index f71de4f..2d50e91 100644
--- a/progtest/Makefile
+++ b/progtest/Makefile
@@ -28,15 +28,15 @@ nsindex=$(addsuffix /index.js, $(namespaces))
all-nodoc: all
all: tame-progtest.js
+modindex: $(nsindex)
+%/index.js: FORCE
+ $(CURDIR)/build-aux/gen-index "$*" > "$@"
+
test: check
check:
PATH="$(PATH):$(CURDIR)/node_modules/mocha/bin" \
mocha --harmony_destructuring --recursive test/
-modindex: $(nsindex)
-%/index.js: FORCE
- $(CURDIR)/build-aux/gen-index "$*" > "$@"
-
browserify: tame-progtest.js
tame-progtest.js: check modindex
$(CURDIR)/node_modules/.bin/browserify \