From bdb78d89215739490c6bf90e9d784513ecccd5f1 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 28 Oct 2016 22:01:23 +0200 Subject: [PATCH] Add install target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4dc3793..8032346 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ -default: ci +default: install + +install: + go install -ldflags "-X main.version=$(shell git describe --tags || git rev-parse --short HEAD || echo dev)" ci: ./publish.sh