mirror of https://gitee.com/answerdev/answer.git
docs(makefile): update main pkg to answercmd
This commit is contained in:
parent
3ccdc8670e
commit
87f649faf7
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ DOCKER_CMD=docker
|
|||
|
||||
#GO_ENV=CGO_ENABLED=0
|
||||
Revision=$(shell git rev-parse --short HEAD)
|
||||
GO_FLAGS=-ldflags="-X main.Version=$(VERSION) -X 'main.Revision=$(Revision)' -X 'main.Time=`date`' -extldflags -static"
|
||||
GO_FLAGS=-ldflags="-X answercmd.Version=$(VERSION) -X 'answercmd.Revision=$(Revision)' -X 'answercmd.Time=`date`' -extldflags -static"
|
||||
GO=$(GO_ENV) $(shell which go)
|
||||
|
||||
build:
|
||||
|
|
Loading…
Reference in New Issue