diff --git a/nimble.lock b/nimble.lock index bc4c8b4..9cb81ce 100644 --- a/nimble.lock +++ b/nimble.lock @@ -3,12 +3,12 @@ "packages": { "hwylterm": { "version": "0.1.0", - "vcsRevision": "2a5dce888d7abf5409a62208d951ac3a4e6babfa", + "vcsRevision": "cbeefd675c0884feebad4dc62910092519f8b2ed", "url": "https://github.com/daylinmorgan/hwylterm", "downloadMethod": "git", "dependencies": [], "checksums": { - "sha1": "56afeceb88973f730111cfa7d02aef2d0cf88197" + "sha1": "4d043352ad07388d0181c0fd4cf325317e9306d0" } }, "illwill": { diff --git a/src/tsm.nim b/src/tsm.nim index f4f7ad3..81326df 100644 --- a/src/tsm.nim +++ b/src/tsm.nim @@ -12,6 +12,9 @@ proc tsm(open: bool = false) = else: tmux.attach project.name +const tsmVersion {.strDefine.} = + staticExec "git describe --tags --always HEAD --match 'v*'" + hwylCli: name "tsm" V tsmVersion diff --git a/tsm.nimble b/tsm.nimble index f513317..c9b8fba 100644 --- a/tsm.nimble +++ b/tsm.nimble @@ -12,6 +12,6 @@ binDir = "bin" requires "nim >= 2.0.0" requires "illwill >= 0.4.1" -requires "https://github.com/daylinmorgan/hwylterm#2a5dce88" +requires "https://github.com/daylinmorgan/hwylterm#cbeefd67" requires "https://github.com/usu-dev/usu-nim"