diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 10:48:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 10:48:41 -0500 |
| commit | 51027a1b04b3da1a81d617d16a07ac1242d90a81 (patch) | |
| tree | cecc3b9d3d1c2e9b6285117bb5ae01827b30fd22 /Makefile | |
| parent | 0653bd60ce9276ad6245b25c60f37aefd0d1408a (diff) | |
update for new argvpb changes
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,4 +1,19 @@ -all: generate vet +VERSION = $(shell git describe --tags) +BUILDTIME = $(shell date +%s) + +all: install + +go-build: goimports + GO111MODULE=off go build \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + +install: goimports + GO111MODULE=off go install \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + +install-verbose: goimports + GO111MODULE=off go install -v -x \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" generate: clean go mod init |
