mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add goversion to Makefile install output
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
parent
71d9e1b098
commit
ae097d2e5c
3
Makefile
3
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user