Nim now uses global user cache
This commit is contained in:
parent
c8324b690b
commit
09c67ca580
|
@ -12,10 +12,7 @@ requires "nim >= 0.18.0"
|
|||
proc test(name: string, lang: string = "c") =
|
||||
if not dirExists "build":
|
||||
mkDir "build"
|
||||
if not dirExists "nimcache":
|
||||
mkDir "nimcache"
|
||||
--run
|
||||
--nimcache: "nimcache"
|
||||
switch("out", ("./build/" & name))
|
||||
setCommand lang, "tests/" & name & ".nim"
|
||||
|
||||
|
|
Loading…
Reference in New Issue