aboutsummaryrefslogtreecommitdiff
path: root/nimgen.nimble
blob: fc7409eb5484deb0ec3e2d3f08d0a79c7f5646ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Package

version       = "0.5.1"
author        = "genotrance"
description   = "c2nim helper to simplify and automate the wrapping of C libraries"
license       = "MIT"

bin = @["nimgen"]
srcDir = "src"
skipDirs = @["nimgen", "tests", "web"]

# Dependencies

requires "nim >= 0.19.0", "c2nim >= 0.9.14", "regex >= 0.10.0"

task test, "Test nimgen":
    exec "nim c -r tests/rununittests.nim"
    exec "nim e tests/nimgentest.nims"