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

Display message if wtf cannot be found after installation

This commit is contained in:
Chris Cummer 2019-02-17 12:32:42 -08:00
parent 1f93ae7972
commit 28ccc9797a

View File

@ -23,9 +23,9 @@ contrib_check:
npx all-contributors-cli check
install:
go clean
go install -ldflags="-s -w -X main.version=$(shell git describe --always --abbrev=6) -X main.date=$(shell date +%FT%T%z)"
which wtf
@go clean
@go install -ldflags="-s -w -X main.version=$(shell git describe --always --abbrev=6) -X main.date=$(shell date +%FT%T%z)"
@which wtf || echo "Could not find wtf in PATH" && exit 0
lint:
structcheck ./...