docs(makefile): update main pkg to answercmd

This commit is contained in:
LinkinStar 2023-01-18 15:38:26 +08:00
parent 3ccdc8670e
commit 87f649faf7
1 changed files with 1 additions and 1 deletions

View File

@ -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: