Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-20 16:12:28 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-23 13:45:38 -0500
commit5aa29216f4d8e78c77635d120f344ab1b67e09fa (patch)
tree7073585af2b1ae60d44eeed83c478f9bdcac77b4 /progtest
parent3bf15ebcc12ef175f3ce1d21c3f61a2b31de3c06 (diff)
downloadtame-5aa29216f4d8e78c77635d120f344ab1b67e09fa.tar.gz
tame-5aa29216f4d8e78c77635d120f344ab1b67e09fa.tar.bz2
tame-5aa29216f4d8e78c77635d120f344ab1b67e09fa.zip
Makefile: run modindex first
Diffstat (limited to 'progtest')
-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 \