Exclude comments from output with flag

This commit is contained in:
Ganesh Viswanathan 2019-05-08 20:54:03 -05:00
commit d9ab18c775
4 changed files with 27 additions and 27 deletions

View file

@ -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()