mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure the relevant Makefile targets install node modules before running.
This commit is contained in:
parent
25282f3094
commit
b98fcaa829
11
Makefile
11
Makefile
@ -22,16 +22,19 @@ appbundle: docs
|
|||||||
appbundle-webkit: docs
|
appbundle-webkit: docs
|
||||||
PGADMIN4_USE_WEBKIT=1 ./pkg/mac/build.sh
|
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
|
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
|
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
|
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
|
cd web && yarn run linter && yarn run karma start -- --single-run
|
||||||
|
|
||||||
# Include all clean sub-targets in clean
|
# Include all clean sub-targets in clean
|
||||||
|
Loading…
Reference in New Issue
Block a user