From a482fc57e09fef17afe4f845654f116697b943fc Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 5 Jan 2023 11:54:22 -0800 Subject: [PATCH] Remove need to download node_modules twice in build-impl (#6882) Signed-off-by: Sebastian Malton Signed-off-by: Sebastian Malton --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b67d196047..d96757b10d 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,8 @@ integration: build yarn integration .PHONY: build-impl -build-impl: binaries/client +build-impl: + yarn run download:binaries yarn run build:tray-icons yarn run compile ifeq "$(DETECTED_OS)" "Windows" @@ -59,7 +60,7 @@ endif yarn run electron-builder --publish onTag $(ELECTRON_BUILDER_EXTRA_ARGS) .PHONY: build -build: node_modules build-impl +build: node_modules binaries/client build-impl src/extensions/npm/extensions/__mocks__: cp -r __mocks__ src/extensions/npm/extensions/