Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnovak committed Apr 4, 2024
1 parent 0b09663 commit 5c054f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common.nim
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import utils/rect
const
ProjectHomeUrl* = "https://gridmonger.johnnovak.net/"

AppVersion* = parseVersion(staticRead("../CURRENT_VERSION").strip)
CompileYear* = CompileDate[0..3]
AppVersion* = parseVersion(staticRead("../CURRENT_VERSION").strip)
CompileYear* = CompileDate[0..3]

BuildGitHash* = strutils.strip(staticExec("git rev-parse --short HEAD"))
BuildGitHash* = strutils.strip(staticExec("git rev-parse --short HEAD"))

VersionString* = fmt"Version {AppVersion} ({BuildGitHash})"
FullVersionString* = fmt"Gridmonger {VersionString} [{hostOS}/{hostCPU}]"
Expand Down

0 comments on commit 5c054f5

Please sign in to comment.