mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 16:15:56 +00:00
give appropriate path in ldflags for BuildTime and Version
This commit is contained in:
parent
d1bae69150
commit
8e0d64fe06
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -6,7 +6,7 @@ VERSION := $(shell git describe --tags)
|
|||
IDENTIFIER := $(VERSION)-$(GOOS)-$(GOARCH)
|
||||
CLONE_URL=github.com/pilosa/pilosa
|
||||
BUILD_TIME=`date -u +%FT%T%z`
|
||||
LDFLAGS=-ldflags "-X main.Version=$(VERSION) -X main.BuildTime=$(BUILD_TIME)"
|
||||
LDFLAGS=-ldflags "-X github.com/pilosa/pilosa/cmd.Version=$(VERSION) -X github.com/pilosa/pilosa/cmd.BuildTime=$(BUILD_TIME)"
|
||||
|
||||
default: test pilosa
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue