From 90e41392842999e389430e94d611661d124d7f1c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 8 Nov 2024 14:13:57 -0600 Subject: [PATCH] simpler config.nims --- config.nims | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/config.nims b/config.nims index 3133862..6495661 100644 --- a/config.nims +++ b/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