summaryrefslogtreecommitdiff
path: root/forgeConfig/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-05 18:40:31 -0600
committerJeff Carr <[email protected]>2025-01-05 18:40:31 -0600
commit98b0d445bc513c5439421d1ec0d32874fc1350f9 (patch)
tree2905bb2369bb91b4bf58c78c6ddcdb6fcf5cbf00 /forgeConfig/Makefile
parentcff4af7935de4bcbb48f9b8b4c028be7e4e5e890 (diff)
allow setting 'master' and 'devel' branchesv0.0.18
Diffstat (limited to 'forgeConfig/Makefile')
-rw-r--r--forgeConfig/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/forgeConfig/Makefile b/forgeConfig/Makefile
index 89ab023..b918330 100644
--- a/forgeConfig/Makefile
+++ b/forgeConfig/Makefile
@@ -1,7 +1,7 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
-build:
+build: goimports
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
@@ -10,7 +10,7 @@ test2:
FORGE_HOME=/tmp/forge ./forgeConfig
FORGE_HOME=/tmp/forge ./forgeConfig --list
-install:
+install: goimports
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"