From 20b3fa352078071aa5ef3fcaa58f120bbe331fa1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 10 Dec 2024 01:47:45 -0600 Subject: testing automation --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 \ -- cgit v1.2.3