update tasks

This commit is contained in:
Daylin Morgan 2024-09-13 11:17:14 -05:00
parent 311ee69dad
commit dc9c8dacef
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -1,8 +1,8 @@
import std/[strformat, strutils]
task debugTui, "debug tui":
exec "nim -d:debug c -r src/tui.nim"
task debugSelect, "debug select":
exec "nim -d:debug c -r src/selector.nim"
task build, "build app":
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
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":
withDir "dist":
for dir in listDirs("."):
@ -29,7 +26,6 @@ task bundle, "package build assets":
exec cmd
# begin Nimble config (version 2)
--noNimblePath
when withDir(thisDir(), system.fileExists("nimble.paths")):