Add bindir
This commit is contained in:
@@ -6,11 +6,13 @@ description = "Scaffolding for a Nim + HTMX + TUI.CSS single-binary web applic
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
srcDir = "src"
|
srcDir = "src"
|
||||||
bin = @["luxtools"]
|
bin = @["luxtools"]
|
||||||
|
binDir = "bin"
|
||||||
|
|
||||||
|
|
||||||
requires "nim >= 1.6.0"
|
requires "nim >= 1.6.0"
|
||||||
|
|
||||||
task build, "Build the optimized standalone binary":
|
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":
|
task test, "Execute the lightweight test suite":
|
||||||
exec "nim c --path:src -o:bin/test_rendering -r tests/test_rendering.nim "
|
exec "nim c --path:src -o:bin/test_rendering -r tests/test_rendering.nim "
|
||||||
|
|||||||
Reference in New Issue
Block a user