blob: a75b75866faab48ebb17c994901922bb6aaa2fb5 (
plain) (
blame)
1
2
3
4
5
6
7
|
powxy: *.go version.go
go build -o powxy
version.go:
printf 'package main\n\nfunc init() {\n\tglobal.Version = "%s"\n}\n' $(shell git describe --tags --always --dirty) > $@
.PHONY: version.go
|