Fix check-submodules rule not to fail if a submodule is missing
This commit is contained in:
parent
27eaad932a
commit
17fc934aa3
5
Makefile
5
Makefile
@ -20,7 +20,10 @@ check-local: config/environments/test.js
|
|||||||
check-submodules:
|
check-submodules:
|
||||||
PATH="$$PATH:$(srcdir)/node_modules/.bin/"; \
|
PATH="$$PATH:$(srcdir)/node_modules/.bin/"; \
|
||||||
for sub in windshaft grainstore node-varnish mapnik; do \
|
for sub in windshaft grainstore node-varnish mapnik; do \
|
||||||
test -e node_modules/$${sub} && make -C node_modules/$${sub} check || exit 1; \
|
if test -e node_modules/$${sub}; then \
|
||||||
|
echo "Testing submodule $${sub}"; \
|
||||||
|
make -C node_modules/$${sub} check || exit 1; \
|
||||||
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
check-full: check-local check-submodules
|
check-full: check-local check-submodules
|
||||||
|
Loading…
Reference in New Issue
Block a user