Don't delete build folder
This commit is contained in:
parent
78ce9abbb4
commit
b9c805f466
1 changed files with 2 additions and 4 deletions
|
|
@ -251,10 +251,8 @@ proc processArgs() =
|
||||||
if buildInfo.outDir == "":
|
if buildInfo.outDir == "":
|
||||||
buildInfo.outDir = "build"
|
buildInfo.outDir = "build"
|
||||||
|
|
||||||
if dirExists buildInfo.outDir:
|
if not dirExists buildInfo.outDir:
|
||||||
removeDir buildInfo.outDir
|
createDir buildInfo.outDir
|
||||||
|
|
||||||
createDir buildInfo.outDir
|
|
||||||
|
|
||||||
if buildInfo.dkpPath == "":
|
if buildInfo.dkpPath == "":
|
||||||
buildInfo.dkpPath = getEnv(dkpEnv, "")
|
buildInfo.dkpPath = getEnv(dkpEnv, "")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue