C2nim is now backwards compatible

This commit is contained in:
Ganesh Viswanathan 2019-07-16 14:06:02 -05:00
commit fabd615379

View file

@ -11,12 +11,7 @@ skipDirs = @["nimgen", "tests", "web"]
# Dependencies # Dependencies
requires "nim >= 0.19.0", "regex >= 0.10.0" requires "nim >= 0.19.0", "c2nim >= 0.9.14", "regex >= 0.10.0"
when NimVersion < "0.20.0":
requires "c2nim#8f1705509084ae47319f6fcfb131e515b134e0f1"
else:
requires "c2nim >= 0.9.14"
task test, "Test nimgen": task test, "Test nimgen":
exec "nim c -r tests/rununittests.nim" exec "nim c -r tests/rununittests.nim"