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

Add 'make dependencies' to the Makefile

This commit is contained in:
Chris Cummer
2018-05-18 16:10:59 -07:00
parent cd5a7968c4
commit ca4d6f2fe8
5 changed files with 10 additions and 3 deletions

View File

@@ -1,5 +1,10 @@
BRANCH := `git rev-parse --abbrev-ref HEAD`
.PHONY: dependencies install
dependencies:
go get -v ./...
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)"