mirror of
https://github.com/daylinmorgan/tsm.git
synced 2024-11-16 09:18:32 -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]
|
||||
|
||||
|
||||
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")):
|
||||
|
|
Loading…
Reference in a new issue