mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
parent
f3d488f3c8
commit
a482fc57e0
5
Makefile
5
Makefile
@ -49,7 +49,8 @@ integration: build
|
|||||||
yarn integration
|
yarn integration
|
||||||
|
|
||||||
.PHONY: build-impl
|
.PHONY: build-impl
|
||||||
build-impl: binaries/client
|
build-impl:
|
||||||
|
yarn run download:binaries
|
||||||
yarn run build:tray-icons
|
yarn run build:tray-icons
|
||||||
yarn run compile
|
yarn run compile
|
||||||
ifeq "$(DETECTED_OS)" "Windows"
|
ifeq "$(DETECTED_OS)" "Windows"
|
||||||
@ -59,7 +60,7 @@ endif
|
|||||||
yarn run electron-builder --publish onTag $(ELECTRON_BUILDER_EXTRA_ARGS)
|
yarn run electron-builder --publish onTag $(ELECTRON_BUILDER_EXTRA_ARGS)
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: node_modules build-impl
|
build: node_modules binaries/client 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/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user