Reduce regex for perf, reduce globals for CT

This commit is contained in:
Ganesh Viswanathan 2020-05-18 16:39:18 -05:00
commit 6f96437f39
8 changed files with 128 additions and 115 deletions

View file

@ -30,15 +30,15 @@ proc execTest(test: string, flags = "", runDocs = true) =
mkDir docPath
buildDocs(@[test], docPath, nimArgs = "--hints:off " & flags)
task buildToast, "build toast":
execCmd("nim c --hints:off nimterop/toast.nim")
task buildTimeit, "build timer":
exec "nim c --hints:off -d:danger tests/timeit"
task bt, "build toast":
task buildToast, "build toast":
execCmd("nim c --hints:off -d:danger nimterop/toast.nim")
task bt, "build toast":
buildToastTask()
task btd, "build toast":
execCmd("nim c -g nimterop/toast.nim")