From 0c1e5b88ef01465ee84712560971af31c3f630ca Mon Sep 17 00:00:00 2001 From: Lorenzo Alberto Maria Ambrosi Date: Tue, 9 Nov 2021 13:53:04 +0100 Subject: [PATCH] patch: Use npm ci in Makefile Signed-off-by: Lorenzo Alberto Maria Ambrosi --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d7d7b645..07624d44 100644 --- a/Makefile +++ b/Makefile @@ -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 \