Add bindir

This commit is contained in:
2025-10-01 15:07:53 +02:00
parent 8e369a2395
commit 3beadb411c

View File

@@ -6,11 +6,13 @@ description = "Scaffolding for a Nim + HTMX + TUI.CSS single-binary web applic
license = "MIT"
srcDir = "src"
bin = @["luxtools"]
binDir = "bin"
requires "nim >= 1.6.0"
task build, "Build the optimized standalone binary":
exec "nim c -d:release --opt:speed -o:bin/luxtools src/luxtools.nim"
exec "nim c -d:release --opt:speed src/luxtools.nimsrc/luxtools.nim"
task test, "Execute the lightweight test suite":
exec "nim c --path:src -o:bin/test_rendering -r tests/test_rendering.nim "