simpler config.nims

This commit is contained in:
Daylin Morgan 2024-11-08 14:13:57 -06:00
parent 0098a70de1
commit 90e4139284
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -2,13 +2,9 @@ import std/[strformat, strutils]
task debugSelect, "debug select":
exec "nim -d:debugSelect c -r src/selector.nim"
task build, "build app":
selfExec "c -o:bin/tsm src/tsm.nim"
task buildRelease, "build release app":
selfExec "c -d:release -o:bin/tsm src/tsm.nim"
--define:"debugSelect"
--run
setCommand("c", "src/selector.nim")
task release, "build release assets w/forge":
version = (gorgeEx "git describe --tags --always --match 'v*'").output