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:
git submodule update --init && \
$(RESIN_SCRIPTS)/electron/install.sh \
-b $(shell pwd) \
-r $(TARGET_ARCH) \
-s $(PLATFORM) \
-m $(NPM_VERSION)
npm ci && \
npm run webpack
electron-test:
$(RESIN_SCRIPTS)/electron/test.sh \