summaryrefslogtreecommitdiff
path: root/testGui/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testGui/Makefile')
-rw-r--r--testGui/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/testGui/Makefile b/testGui/Makefile
index 9f03282..dbbe743 100644
--- a/testGui/Makefile
+++ b/testGui/Makefile
@@ -2,11 +2,12 @@ VERSION = $(shell git describe --tags)
GUIVERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
-all: build
+all: goimports build
build:
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+ ./testGui
vet:
GO111MODULE=off go vet