-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3.1.5: add nosink on validator, up reqs
- Loading branch information
Showing
2 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,27 @@ | ||
version = "3.1.4" | ||
version = "3.1.5" | ||
author = "disruptek" | ||
description = "OpenAPI Code Generator" | ||
license = "MIT" | ||
requires "nim >= 0.20.0" | ||
requires "npeg >= 0.19.0" | ||
requires "nim >= 1.0.6" | ||
requires "npeg >= 0.23.0" | ||
requires "foreach >= 1.0.1" | ||
requires "https://github.com/disruptek/rest.git >= 1.0.0" | ||
requires "https://github.com/disruptek/rest.git >= 1.0.3" | ||
|
||
srcDir = "src" | ||
|
||
proc execCmd(cmd: string) = | ||
echo "execCmd:" & cmd | ||
exec cmd | ||
|
||
proc execTest(test: string) = | ||
execCmd "nim c -f -r " & test | ||
execCmd "nim c -d:release -r " & test | ||
execCmd "nim c -d:danger -r " & test | ||
execCmd "nim cpp -r " & test | ||
execCmd "nim cpp -d:danger -r " & test | ||
when NimMajor >= 1 and NimMinor >= 1: | ||
execCmd "nim c --gc:arc --exceptions:goto -r " & test | ||
execCmd "nim cpp --gc:arc --exceptions:goto -r " & test | ||
|
||
task test, "run tests for travis": | ||
execTest("tests/tests.nim") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters