From 139653ba8c6676f7e9e2b501e9806b2bd8f02045 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 15 Dec 2024 08:46:23 -0600 Subject: add --minor argv. will it work? --- Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 78c1723..2b1ce6c 100644 --- a/Makefile +++ b/Makefile @@ -14,27 +14,25 @@ vet: build: echo "build it!" + touch resources/blank.so -rm resources/*.so -mkdir resources/ - cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/ + -cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/ + touch resources/blank.so GO111MODULE=off go build \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" install: goimports + touch resources/blank.so -rm resources/*.so - cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/ + -cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/ + touch resources/blank.so GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" check-git-clean: @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1) -redomod: - rm -f go.* - GO111MODULE= go mod init - GO111MODULE= go mod tidy - go mod edit -go=1.20 - curl-help: curl --silent http://localhost:9419/help -- cgit v1.2.3