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

Improve the state of the Makefile a bit

This commit is contained in:
Chris Cummer
2018-05-18 16:37:03 -07:00
parent ca4d6f2fe8
commit 5d66b2acd5
5 changed files with 10 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
BRANCH := `git rev-parse --abbrev-ref HEAD`
.PHONY: dependencies install
.PHONY: dependencies install run
dependencies:
go get -v ./...
@@ -8,3 +8,7 @@ dependencies:
install:
which wtf | xargs rm
go install -ldflags="-X main.version=$(shell git describe --always --abbrev=6)_$(BRANCH) -X main.date=$(shell date +%FT%T%z)"
which wtf
run:
wtf