Add loaf, replace find

This commit is contained in:
Ganesh Viswanathan 2020-10-05 12:17:36 -05:00
commit 13e5ce7e22
3 changed files with 51 additions and 10 deletions

View file

@ -5,7 +5,7 @@ author = "genotrance"
description = "C/C++ interop for Nim"
license = "MIT"
bin = @["nimterop/toast"]
bin = @["nimterop/toast", "nimterop/loaf"]
installDirs = @["nimterop"]
# Dependencies
@ -33,6 +33,9 @@ proc execTest(test: string, flags = "", runDocs = true) =
task buildTimeit, "build timer":
exec "nim c --hints:off -d:danger tests/timeit"
task buildLoaf, "build loaf":
execCmd("nim c --hints:off -d:danger nimterop/loaf.nim")
task buildToast, "build toast":
execCmd("nim c --hints:off -d:danger nimterop/toast.nim")
@ -89,6 +92,7 @@ task test, "Test":
rmFile("tests/timeit.txt")
buildTimeitTask()
buildLoafTask()
buildToastTask()
basicTask()