diff options
| author | Jeff Carr <[email protected]> | 2025-10-04 17:37:37 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-04 17:37:37 -0500 |
| commit | 1c015f05bd0a2ab32fc83bacb75c7ad4d1415405 (patch) | |
| tree | c03868fb07d4e8f36427fbbc6a1d5110a09a9da4 /Makefile | |
| parent | e21b1e4649a91585ae4435653d6607247ade88e4 (diff) | |
add autocompletev0.0.102
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ .PHONY: build VERSION = $(shell git describe --tags) -BUILDTIME = $(shell date +%Y.%m.%d_%H%M) +BUILDTIME = $(shell date +%s) # create the go.mod and go.sum if this is a brand new repo # REDOMOD = $(shell if [ -e go.mod ]; then echo go.mod; else echo no go mod; fi) @@ -9,13 +9,13 @@ REDOMOD = $(shell if [ -e go.sum ]; then echo go.sum exists; else GO111MODULE= all: build ./zood --version - ./zood test + ./zood status build: goimports GO111MODULE=off go build -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" -install: +install: goimports GO111MODULE=off go install -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" |
