koch: keep the nimcache directory for tools

This commit is contained in:
Araq 2016-10-22 13:06:00 +02:00
commit 062b7e8b46

View file

@ -263,7 +263,7 @@ proc boot(args: string) =
var finalDest = "bin" / "nim".exe var finalDest = "bin" / "nim".exe
# default to use the 'c' command: # default to use the 'c' command:
let bootOptions = if args.len == 0 or args.startsWith("-"): "c" else: "" let bootOptions = if args.len == 0 or args.startsWith("-"): "c" else: ""
let smartNimcache = if "release" in args: "rnimcache" else: "dnimcache" let smartNimcache = if "release" in args: "nimcache/release" else: "nimcache/debug"
copyExe(findStartNim(), 0.thVersion) copyExe(findStartNim(), 0.thVersion)
for i in 0..2: for i in 0..2: