Ensure the relevant Makefile targets install node modules before running.

This commit is contained in:
Matthew Kleiman 2017-06-23 09:23:31 +01:00 committed by Dave Page
parent 25282f3094
commit b98fcaa829

View File

@ -22,16 +22,19 @@ appbundle: docs
appbundle-webkit: docs
PGADMIN4_USE_WEBKIT=1 ./pkg/mac/build.sh
check:
install-node:
cd web && yarn install
check: install-node
cd web && yarn run bundle && yarn run linter && yarn run karma start -- --single-run && python regression/runtests.py
check-python:
check-python: install-node
cd web && yarn run bundle && python regression/runtests.py --exclude feature_tests
check-feature:
check-feature: install-node
cd web && yarn run bundle && python regression/runtests.py --pkg feature_tests
check-js:
check-js: install-node
cd web && yarn run linter && yarn run karma start -- --single-run
# Include all clean sub-targets in clean