From e639f7d7b7930185aa319a91317087015887d75e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 5 Sep 2025 12:53:05 -0500 Subject: set patch NewHash --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 16e9324..0967148 100644 --- a/Makefile +++ b/Makefile @@ -6,17 +6,13 @@ BUILDTIME = $(shell date +%Y.%m.%d_%H%M) # make gocui # try the ncurses gui plugin # make andlabs # try the andlabs gui plugin (uses GTK) -default: verbose install - forge patch +default: install-verbose + forge patch list vet: @GO111MODULE=off go vet @echo this go binary package builds okay -verbose: goimports vet plugin - GO111MODULE=off go install -v -x \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" - build: goimports vet plugin GO111MODULE=off go build \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" @@ -26,6 +22,10 @@ install: goimports plugin -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" cp -f ~/go/bin/forge ~/go/bin/last.forge # this is a hack so that go-deb can build a .deb file for forge # TODO: remove this +install-verbose: goimports vet plugin + GO111MODULE=off go install -v -x \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + install-raw: goimports vet plugin go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" -- cgit v1.2.3