patch: Use npm ci in Makefile

Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
This commit is contained in:
Lorenzo Alberto Maria Ambrosi 2021-11-09 13:53:04 +01:00
parent 790201be90
commit 0c1e5b88ef

View File

@ -90,11 +90,8 @@ TARGET_ARCH ?= $(HOST_ARCH)
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
electron-develop: electron-develop:
git submodule update --init && \ git submodule update --init && \
$(RESIN_SCRIPTS)/electron/install.sh \ npm ci && \
-b $(shell pwd) \ npm run webpack
-r $(TARGET_ARCH) \
-s $(PLATFORM) \
-m $(NPM_VERSION)
electron-test: electron-test:
$(RESIN_SCRIPTS)/electron/test.sh \ $(RESIN_SCRIPTS)/electron/test.sh \