mirror of
https://github.com/daylinmorgan/tsm.git
synced 2024-11-16 09:18:32 -06:00
simpler config.nims
This commit is contained in:
parent
0098a70de1
commit
90e4139284
1 changed files with 3 additions and 7 deletions
10
config.nims
10
config.nims
|
@ -2,13 +2,9 @@ import std/[strformat, strutils]
|
||||||
|
|
||||||
|
|
||||||
task debugSelect, "debug select":
|
task debugSelect, "debug select":
|
||||||
exec "nim -d:debugSelect c -r src/selector.nim"
|
--define:"debugSelect"
|
||||||
|
--run
|
||||||
task build, "build app":
|
setCommand("c", "src/selector.nim")
|
||||||
selfExec "c -o:bin/tsm src/tsm.nim"
|
|
||||||
|
|
||||||
task buildRelease, "build release app":
|
|
||||||
selfExec "c -d:release -o:bin/tsm src/tsm.nim"
|
|
||||||
|
|
||||||
task release, "build release assets w/forge":
|
task release, "build release assets w/forge":
|
||||||
version = (gorgeEx "git describe --tags --always --match 'v*'").output
|
version = (gorgeEx "git describe --tags --always --match 'v*'").output
|
||||||
|
|
Loading…
Reference in a new issue