This model should be improved to avoid double-checking when the same submodule could be installed or referenced by multiple levels...
21 lines
391 B
Makefile
21 lines
391 B
Makefile
all:
|
|
npm install
|
|
|
|
clean:
|
|
rm -rf node_modules/*
|
|
|
|
config/environments/test.js: config/environments/test.js.example
|
|
./configure
|
|
|
|
check-local: config/environments/test.js
|
|
./run_tests.sh
|
|
|
|
check-submodules:
|
|
for sub in windshaft grainstore mapnik; do \
|
|
test -e node_modules/$${sub} && make -C node_modules/$${sub} check; \
|
|
done
|
|
|
|
check-full: check-local check-submodules
|
|
|
|
check: check-local
|