summaryrefslogtreecommitdiff
path: root/forgeConfig/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-06 03:05:47 -0600
committerJeff Carr <[email protected]>2025-01-06 03:05:47 -0600
commit35bec795e7195e967d95399329fe7b6d0b7cc069 (patch)
tree3f1085a03ff5398a4299886342a6802e6b6f4822 /forgeConfig/Makefile
parent8f9b66f6c8565f08e18098e330dfe73c22592b9f (diff)
parent98b0d445bc513c5439421d1ec0d32874fc1350f9 (diff)
Merge branch 'jcarr' of gitea.wit.com:jcarr/wit-utils into jcarr
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}"