mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix windows dev env (#722)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com> Co-authored-by: Trevor Nichols <trevor@ml.net.au>
This commit is contained in:
1 parent
8f778ea379
commit
b75cac4546
3 files changed
+23
-7
No files matched your search
@@ -20,8 +20,10 @@ compile-dev:
|
||||
yarn compile:renderer --cache
|
||||
|
||||
dev:
|
||||
test -f out/main.js || make init
|
||||
yarn dev # run electron and watch files
|
||||
ifeq ("$(wildcard static/build/main.js)","")
|
||||
make init
|
||||
endif
|
||||
yarn dev
|
||||
|
||||
lint:
|
||||
yarn lint
|
||||
@@ -53,6 +55,12 @@ else
|
||||
endif
|
||||
|
||||
clean:
|
||||
ifeq "$(DETECTED_OS)" "Windows"
|
||||
if exist binaries\client del /s /q binaries\client\*.*
|
||||
if exist dist del /s /q dist\*.*
|
||||
if exist static\build del /s /q static\build\*.*
|
||||
else
|
||||
rm -rf binaries/client/*
|
||||
rm -rf dist/*
|
||||
rm -rf out/*
|
||||
rm -rf static/build/*
|
||||
endif
|
||||
Reference in new issue
Block a user