From 17fc934aa347b9db81f413f73481d460b9a0f948 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 4 Sep 2013 18:19:09 +0200 Subject: [PATCH] Fix check-submodules rule not to fail if a submodule is missing --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 485a5904..6ba8b587 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,10 @@ check-local: config/environments/test.js check-submodules: PATH="$$PATH:$(srcdir)/node_modules/.bin/"; \ 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 check-full: check-local check-submodules