6 lines
130 B
Makefile
6 lines
130 B
Makefile
|
VERSION=`git describe --tags --dirty --always`
|
||
|
|
||
|
LDFLAGS=-ldflags "-X main.version=${VERSION}"
|
||
|
|
||
|
build:
|
||
|
go build ${LDFLAGS} ${OPTS}
|