Tweak PATH during submodule check, to find mocha from subdirs
This commit is contained in:
parent
6f8fd69101
commit
1b6a662a72
3
Makefile
3
Makefile
@ -1,3 +1,5 @@
|
||||
srcdir=$(shell pwd)
|
||||
|
||||
all:
|
||||
npm install
|
||||
|
||||
@ -19,6 +21,7 @@ check-local: config/environments/test.js
|
||||
test/acceptance/server.js \
|
||||
|
||||
check-submodules:
|
||||
PATH="$$PATH:$(srcdir)/node_modules/.bin/"; \
|
||||
for sub in windshaft grainstore mapnik; do \
|
||||
test -e node_modules/$${sub} && make -C node_modules/$${sub} check; \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user