aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 398cdc326527abe7b6e47459a84712f148f66609 (plain)
1
2
3
4
5
6
7
8
9
VERSION=v0.1.0

build:
	go build -ldflags="-X 'main.Version=${VERSION}'"

tar: build
	git archive \
        -o midr-${VERSION}.tar.gz \
        --prefix=midr-${VERSION}/ HEAD