summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-05 12:53:05 -0500
committerJeff Carr <[email protected]>2025-09-05 12:53:05 -0500
commite639f7d7b7930185aa319a91317087015887d75e (patch)
tree27228d32cd811adb6ead90b5db93fa7b725c1284 /Makefile
parent790c48e0d0ef2fde8583820b8ab834449bf00ac0 (diff)
set patch NewHash
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
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}"