move Version and Commit to core
This commit is contained in:
@@ -24,7 +24,7 @@ GO ?= CGO_ENABLED=0 go
|
||||
GOFLAGS ?=
|
||||
#GOLDFLAGS ?= -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
|
||||
# also strips executable, significantly reduces size
|
||||
GOLDFLAGS ?= -s -w -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
|
||||
GOLDFLAGS ?= -s -w -X golang.nytpu.com/comitium/core.Version=$(VERSION) -X golang.nytpu.com/comitium/core.Commit=$(COMMIT)
|
||||
SCDOC ?= scdoc
|
||||
MKDIR ?= mkdir -p
|
||||
RM ?= rm -f
|
||||
|
||||
Reference in New Issue
Block a user