1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add Makefile support for 'make install' and version info

This commit is contained in:
Chris Cummer
2018-04-23 17:35:14 -07:00
parent 34dcdbbe66
commit 5a31de74fe
4 changed files with 39 additions and 14 deletions

View File

@@ -0,0 +1,2 @@
install:
go install -ldflags="-X main.version=$(shell git describe --always --long --dirty)"