mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
Fix Makefile so JS dependencies don't get into a bad state. (#2230)
This commit is contained in:
committed by
GitHub
parent
6b1330d28a
commit
00e6cfed29
3
Makefile
3
Makefile
@@ -40,7 +40,7 @@ check-python:
|
||||
|
||||
# Check the environment, install the dependencies.
|
||||
setup: check-node check-npm check-python
|
||||
cd core && npm install && cd ..
|
||||
cd core && npm ci && cd ..
|
||||
ifeq ($(VIRTUAL_ENV),)
|
||||
echo "\n\n\033[0;31mCannot install Python dependencies. Your virtualenv is not activated.\033[0m"
|
||||
false
|
||||
@@ -60,7 +60,6 @@ build:
|
||||
|
||||
# Update the dependencies.
|
||||
update:
|
||||
cd core && npm update && cd ..
|
||||
python -m pip install -r requirements.txt --upgrade
|
||||
|
||||
# Run the precommit checks (run eslint).
|
||||
|
||||
Reference in New Issue
Block a user