Move all artifacts to nimcache

This commit is contained in:
Ganesh Viswanathan 2019-10-10 07:56:47 -05:00
commit 6db698ea7a
14 changed files with 80 additions and 54 deletions

View file

@ -21,10 +21,13 @@ proc execCmd(cmd: string) =
exec cmd
proc execTest(test: string) =
execCmd "nim c -r " & test
execCmd "nim c -f -r " & test
execCmd "nim cpp -r " & test
task buildToast, "build toast":
execCmd("nim c -f -d:danger nimterop/toast.nim")
task bt, "build toast":
execCmd("nim c -d:danger nimterop/toast.nim")
task docs, "Generate docs":
@ -34,7 +37,7 @@ task test, "Test":
buildToastTask()
execTest "tests/tnimterop_c.nim"
execCmd "nim cpp -r tests/tnimterop_cpp.nim"
execCmd "nim cpp -f -r tests/tnimterop_cpp.nim"
execTest "tests/tpcre.nim"
# Platform specific tests