mirror of
https://github.com/daylinmorgan/tsm.git
synced 2024-12-21 20:50:45 -06:00
update tasks
This commit is contained in:
parent
311ee69dad
commit
dc9c8dacef
1 changed files with 2 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
import std/[strformat, strutils]
|
import std/[strformat, strutils]
|
||||||
|
|
||||||
|
|
||||||
task debugTui, "debug tui":
|
task debugSelect, "debug select":
|
||||||
exec "nim -d:debug c -r src/tui.nim"
|
exec "nim -d:debug c -r src/selector.nim"
|
||||||
|
|
||||||
task build, "build app":
|
task build, "build app":
|
||||||
selfExec "c -o:bin/tsm src/tsm.nim"
|
selfExec "c -o:bin/tsm src/tsm.nim"
|
||||||
|
@ -14,9 +14,6 @@ task release, "build release assets":
|
||||||
version = (gorgeEx "git describe --tags --always --match 'v*'").output
|
version = (gorgeEx "git describe --tags --always --match 'v*'").output
|
||||||
exec &"forge release -v {version} -V"
|
exec &"forge release -v {version} -V"
|
||||||
|
|
||||||
task updateNixLock, "regenerate nix/lock.json":
|
|
||||||
exec "nix run github:daylinmorgan/nnl nimble.lock > nix/lock.json"
|
|
||||||
|
|
||||||
task bundle, "package build assets":
|
task bundle, "package build assets":
|
||||||
withDir "dist":
|
withDir "dist":
|
||||||
for dir in listDirs("."):
|
for dir in listDirs("."):
|
||||||
|
@ -29,7 +26,6 @@ task bundle, "package build assets":
|
||||||
exec cmd
|
exec cmd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# begin Nimble config (version 2)
|
# begin Nimble config (version 2)
|
||||||
--noNimblePath
|
--noNimblePath
|
||||||
when withDir(thisDir(), system.fileExists("nimble.paths")):
|
when withDir(thisDir(), system.fileExists("nimble.paths")):
|
||||||
|
|
Loading…
Reference in a new issue