From ae097d2e5c98a7612871eddc3e9b995f5d6d5b74 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Thu, 16 Jul 2020 21:14:25 -0700 Subject: [PATCH] Add goversion to Makefile install output Signed-off-by: Chris Cummer --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b1bdf762..b1464163 100644 --- a/Makefile +++ b/Makefile @@ -91,8 +91,9 @@ isntall: ## install: installs a local version of the app install: + $(eval GOVERS = $(shell go version)) @echo "$$HEADER" - @echo "Installing ${APP}..." + @echo "Installing ${APP} with ${GOVERS}..." @go clean @go install -ldflags="-s -w -X main.version=$(shell git describe --always --abbrev=6) -X main.date=$(shell date +%FT%T%z)" @mv ~/go/bin/wtf ~/go/bin/${APP}