add better startup and shutdown msgs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-09-08 19:57:28 -07:00
parent a35f0cd39a
commit b48165fa0a
4 changed files with 22 additions and 12 deletions

View File

@@ -1,4 +1,5 @@
VERSION := $(shell git rev-parse --short HEAD)
COMMIT := $(shell git log --pretty=format:"%H" -1)
BUILDTIME := $(shell date -u '+%Y-%m-%dT%H:%M:%SZ')
BUILDTIMEFILENAME := $(shell date -u '+%Y%m%d-%H%M%SZ')
BUILDTIMETAG := $(shell date -u '+%Y%m%d%H%M%S')
@@ -12,6 +13,7 @@ IMAGENAME := sneak/$(FN)
UNAME_S := $(shell uname -s)
GOLDFLAGS += -X main.Version=$(VERSION)
GOLDFLAGS += -X main.Commit=$(COMMIT)
GOLDFLAGS += -X main.Buildarch=$(BUILDARCH)
# osx can't statically link apparently?!