diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-05-08 20:54:03 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-05-08 20:54:03 -0500 |
| commit | d9ab18c7757193f14fac69f3b462981b79defc93 (patch) | |
| tree | bbc616b5509e2dc14d40330bcc8d2c16d55877d8 /nimterop.nimble | |
| parent | b0a8f9bec5fb00ecf070a445f1b3b6a419fee103 (diff) | |
| download | nimterop-pragma.tar.gz nimterop-pragma.zip | |
Exclude comments from output with flagpragma
Diffstat (limited to 'nimterop.nimble')
| -rw-r--r-- | nimterop.nimble | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nimterop.nimble b/nimterop.nimble index c53e4dc..a9a99ee 100644 --- a/nimterop.nimble +++ b/nimterop.nimble @@ -27,12 +27,9 @@ proc execTest(test: string) = proc tsoloud() = execTest "tests/tsoloud.nim" -proc buildToast() = - execCmd(&"nim c -d:release nimterop/toast.nim") - -task rebuildToast, "rebuild toast": +task buildToast, "build toast": # If need to manually rebuild (automatically built on 1st need) - buildToast() + execCmd(&"nim c -d:release nimterop/toast.nim") proc testAll() = execTest "tests/tnimterop_c.nim" @@ -69,7 +66,7 @@ proc runNimDoc() = execCmd &"nim js -o:{htmldocsDir}/dochack.js {getNimRootDir()}/tools/dochack/dochack.nim" task test, "Test": - buildToast() + buildToastTask() testAll() runNimDoc() |
