1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add build-impl make target to skip install node_modules again (#6881)

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-01-05 11:41:24 -08:00 committed by GitHub
parent 1456e1e597
commit f3d488f3c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,8 @@ test: node_modules binaries/client
integration: build integration: build
yarn integration yarn integration
.PHONY: build .PHONY: build-impl
build: node_modules binaries/client build-impl: binaries/client
yarn run build:tray-icons yarn run build:tray-icons
yarn run compile yarn run compile
ifeq "$(DETECTED_OS)" "Windows" ifeq "$(DETECTED_OS)" "Windows"
@ -58,6 +58,9 @@ ifeq "$(DETECTED_OS)" "Windows"
endif endif
yarn run electron-builder --publish onTag $(ELECTRON_BUILDER_EXTRA_ARGS) yarn run electron-builder --publish onTag $(ELECTRON_BUILDER_EXTRA_ARGS)
.PHONY: build
build: node_modules build-impl
src/extensions/npm/extensions/__mocks__: src/extensions/npm/extensions/__mocks__:
cp -r __mocks__ src/extensions/npm/extensions/ cp -r __mocks__ src/extensions/npm/extensions/