diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 05:59:05 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 05:59:05 -0500 |
| commit | a5ada1d59a8b56a033949a48af15bc74330cab07 (patch) | |
| tree | 30b664f74e30faf782765e0f4a7dba46e8b917f8 /Makefile | |
| parent | 7cfeaaa25c46d87919b5a61dd2338765f40fc23c (diff) | |
new argvv0.0.49
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +.PHONY: build + +VERSION = $(shell git describe --tags) +BUILDTIME = $(shell date +%s) + all: portmap.pb.go goimports vet @echo This GO code passes the compile checks @@ -17,15 +22,15 @@ gocui: build build: goimports vet GO111MODULE=off go build -v -x \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}" install: goimports vet GO111MODULE=off go install \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}" install-verbose: goimports vet GO111MODULE=off go install -v -x \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}" goimports: goimports -w *.go |
