diff options
| author | Jeff Carr <[email protected]> | 2025-01-10 07:40:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-10 07:40:24 -0600 |
| commit | e07c6a35fd5d2ca1b3a6c09d9781d21f676f52f2 (patch) | |
| tree | ce7a4fd38fff09571739bedd5d6dd00d99cff4b7 /Makefile | |
| parent | d9e5edb3a8486bc884841137095dd910e42b3a98 (diff) | |
detect that autogenpb has already been run and exit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%Y.%m.%d_%H%M) -full: clean auto goimports vet build test +full: install clean auto goimports vet build test @echo everything worked and the example ran test: goimports build test @@ -20,6 +20,7 @@ recover: build: GO111MODULE=off go build \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + # autogen uses autogen to build. keep a working copy somewhere cp -f autogenpb autogenpb.${BUILDTIME} bak: |
