use C backend by default for testing
This commit is contained in:
parent
6f77899709
commit
839123b2a4
|
@ -9,7 +9,7 @@ srcDir = "src"
|
|||
|
||||
requires "nim >= 0.17.2"
|
||||
|
||||
proc test(name: string, lang: string = "cpp") =
|
||||
proc test(name: string, lang: string = "c") =
|
||||
if not dirExists "build":
|
||||
mkDir "build"
|
||||
if not dirExists "nimcache":
|
||||
|
@ -20,4 +20,4 @@ proc test(name: string, lang: string = "cpp") =
|
|||
setCommand lang, "tests/" & name & ".nim"
|
||||
|
||||
task test, "Run all tests":
|
||||
test "all_tests"
|
||||
test "all_tests"
|
||||
|
|
Loading…
Reference in New Issue