Makefile: run modindex first

master
Mike Gerwitz 2018-02-20 16:12:28 -05:00
parent 3bf15ebcc1
commit 5aa29216f4
1 changed files with 4 additions and 4 deletions

View File

@ -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 \