add better startup and shutdown msgs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
2
Makefile
2
Makefile
@@ -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?!
|
||||
|
||||
Reference in New Issue
Block a user