ref: master
./Makefile
1 2 3 4 5
BUILD_VERSION ?= $(shell git describe --always --abbrev=40 --dirty) LDFLAGS="-X git.pokorny.ca/bookends/cmd.BookendsVersion=${BUILD_VERSION}" all: go build -ldflags $(LDFLAGS) -o bookends main.go