mirror of
https://github.com/daylinmorgan/tsm.git
synced 2024-12-21 04:40:45 -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":
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue