summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-10 01:47:45 -0600
committerJeff Carr <[email protected]>2024-12-10 01:47:45 -0600
commit20b3fa352078071aa5ef3fcaa58f120bbe331fa1 (patch)
treed94157e568587b104f89042a9fa017a050f7f4e3 /Makefile
parentdcf18c2b7aee765349167138c7ca20f24617d1b9 (diff)
testing automation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1dba7ad..9d9b9bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
-all: build
+all: goimports build
goimports:
goimports -w *.go
@@ -19,7 +19,7 @@ build:
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
-install:
+install: goimports
-rm resources/*.so
cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/
GO111MODULE=off go install \