mirror of
https://github.com/rumanzo/bt2qbt.git
synced 2024-11-25 11:52:56 +01:00
makefile little fix with predefined variable
This commit is contained in:
parent
9e3eb528c1
commit
b304a20555
2
Makefile
2
Makefile
@ -12,7 +12,7 @@ commit=$(shell git rev-parse HEAD)
|
||||
dockercmd=docker run --rm -v $(CURDIR):/usr/src/bt2qbt -w /usr/src/bt2qbt
|
||||
buildtags = -tags forceposix
|
||||
buildenvs = -e CGO_ENABLED=0
|
||||
version = 1999
|
||||
version = 1.999
|
||||
ldflags = -ldflags="-X 'main.version=$(version)' -X 'main.commit=$(commit)' -X 'main.buildImage=golang:$(gotag)'"
|
||||
|
||||
all: tests build
|
||||
|
Loading…
Reference in New Issue
Block a user