summaryrefslogtreecommitdiff
path: root/forgeConfig/Makefile
diff options
context:
space:
mode:
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}"