είδωλο του
https://github.com/quitesimpleorg/hs9001.git
synced 2024-11-23 17:37:50 +01:00
7 γραμμές
190 B
Makefile
7 γραμμές
190 B
Makefile
|
GIT_COMMIT=$(shell git rev-list -1 HEAD)
|
||
|
GIT_TAG=$(shell git tag --sort="-version:refname" | head -n 1)
|
||
|
all:
|
||
|
go build -ldflags "-X main.GitCommit=${GIT_COMMIT} -X main.GitTag=${GIT_TAG}"
|
||
|
|
||
|
|