This commit is contained in:
Jeff Carr 2024-12-11 23:11:21 -06:00
parent fdbf6e7dd5
commit 9d183050eb
1 changed files with 2 additions and 6 deletions

View File

@ -1,7 +1,7 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
all: goimports vet install
all: install
forge
vet:
@ -12,7 +12,7 @@ verbose:
GO111MODULE=off go build -v -x \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
install: goimports
install: goimports vet
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
@ -32,22 +32,18 @@ redomod-erase:
forge --do-RedoGoMod --do-erase
private: install
reset
forge --find-private
fix: install
reset
forge --fix
readonly: install
reset
forge --do-list --find-readonly
config: install
forge --config
scan: install
reset
forge --do-scan
pull: install