Fix c2nim dependency
This commit is contained in:
parent
97141f523f
commit
4ab5ff93b8
1 changed files with 7 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Package
|
||||
|
||||
version = "0.5.0"
|
||||
version = "0.5.1"
|
||||
author = "genotrance"
|
||||
description = "c2nim helper to simplify and automate the wrapping of C libraries"
|
||||
license = "MIT"
|
||||
|
|
@ -11,7 +11,12 @@ skipDirs = @["nimgen", "tests", "web"]
|
|||
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 0.17.0", "c2nim >= 0.9.14", "regex >= 0.10.0"
|
||||
requires "nim >= 0.19.0", "regex >= 0.10.0"
|
||||
|
||||
when NimVersion < "0.20.0":
|
||||
requires "c2nim#8f1705509084ae47319f6fcfb131e515b134e0f1"
|
||||
else:
|
||||
requires "c2nim >= 0.9.14"
|
||||
|
||||
task test, "Test nimgen":
|
||||
exec "nim c -r tests/rununittests.nim"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue