koch: keep the nimcache directory for tools

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

View File

@@ -263,7 +263,7 @@ proc boot(args: string) =
var finalDest = "bin" / "nim".exe
# default to use the 'c' command:
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)
for i in 0..2: