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:
Lauri NevalaandTrevor Nichols authored and GitHub committed 2020-08-25 11:08:46 +03:00
1 parent 8f778ea379
commit b75cac4546
3 files changed
+23 -7

No files matched your search

+11 -3
View File
@@ -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