use C backend by default for testing

This commit is contained in:
mratsim 2018-02-15 15:09:58 +01:00
parent 6f77899709
commit 839123b2a4
1 changed files with 2 additions and 2 deletions

View File

@ -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"