guildgate/Makefile

5 lines
103 B
Makefile
Raw Normal View History

2021-03-02 14:37:31 -05:00
GIT_COMMIT := $(shell git rev-list -1 HEAD)
all:
go build -ldflags "-X main.GitCommit=$(GIT_COMMIT)"