Remove need to download node_modules twice in build-impl (#6882)

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-01-05 14:54:22 -05:00
1 parent f3d488f3c8
commit a482fc57e0
1 file changed
+3 -2
+3 -2
View File
@@ -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/