1
0
réplica de https://github.com/quitesimpleorg/hs9001.git sincronizado 2024-06-10 12:21:17 +02:00
hs9001/Makefile
2021-05-16 18:38:50 +02:00

7 linhas
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}"