From f3d488f3c84d17f98cbe563f68087ec3c98bad45 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 5 Jan 2023 11:41:24 -0800 Subject: [PATCH] Add build-impl make target to skip install node_modules again (#6881) Signed-off-by: Sebastian Malton Signed-off-by: Sebastian Malton --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a6e79dbd12..b67d196047 100644 --- a/Makefile +++ b/Makefile @@ -48,8 +48,8 @@ test: node_modules binaries/client integration: build yarn integration -.PHONY: build -build: node_modules binaries/client +.PHONY: build-impl +build-impl: binaries/client yarn run build:tray-icons yarn run compile ifeq "$(DETECTED_OS)" "Windows" @@ -58,6 +58,9 @@ ifeq "$(DETECTED_OS)" "Windows" endif yarn run electron-builder --publish onTag $(ELECTRON_BUILDER_EXTRA_ARGS) +.PHONY: build +build: node_modules build-impl + src/extensions/npm/extensions/__mocks__: cp -r __mocks__ src/extensions/npm/extensions/