diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-01-17 08:45:04 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-01-17 08:45:04 -0600 |
| commit | f2b3ffc862b6e7cf768111b04aabdb191d9c87be (patch) | |
| tree | f4e855232b3ce1db95319142a391c1ebf9e5adfa | |
| parent | a491201bb2508c48bfb3ef34164c4dc3845fb1cb (diff) | |
| download | nimterop-nonimgen.tar.gz nimterop-nonimgen.zip | |
OSX fix, test 0.19.0 as wellnonimgen
| -rw-r--r-- | .travis.yml | 17 | ||||
| -rw-r--r-- | appveyor.yml | 1 | ||||
| -rw-r--r-- | nimterop/treesitter/runtime.nim | 4 |
3 files changed, 10 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index dbec88d..347263a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,19 +5,14 @@ os: language: c env: - # test against both stable & devel - - BRANCH=stable + - BRANCH=0.19.0 + - BRANCH=0.19.2 - BRANCH=devel -# cache: - # directories: - # - "$HOME/.nimble" - # - "$HOME/.choosenim" - -# matrix: - # allow_failures: - # - env: BRANCH=devel - # fast_finish: true +cache: + directories: + - "$HOME/.choosenim/toolchains/nim-0.19.0" + - "$HOME/.choosenim/toolchains/nim-0.19.2" install: - export CHOOSENIM_CHOOSE_VERSION=$BRANCH diff --git a/appveyor.yml b/appveyor.yml index b089567..72c2033 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,6 +9,7 @@ matrix: environment: matrix: + - NIM_VERSION: 0.19.0 - NIM_VERSION: 0.19.2 for: diff --git a/nimterop/treesitter/runtime.nim b/nimterop/treesitter/runtime.nim index b255eba..d5fbed5 100644 --- a/nimterop/treesitter/runtime.nim +++ b/nimterop/treesitter/runtime.nim @@ -9,7 +9,9 @@ static: const sourcePath = currentSourcePath().split({'\\', '/'})[0..^4].join("/") & "/inc/treesitter" -{.passC: "-std=c11 -DUTF8PROC_STATIC".} +when defined(Linux): + {.passC: "-std=c11".} +{.passC: "-DUTF8PROC_STATIC".} {.passC: "-I$1/include" % sourcePath.} {.passC: "-I$1/src" % sourcePath.} {.passC: "-I$1/../utf8proc" % sourcePath.} |
