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:
parent
1f93ae7972
commit
28ccc9797a
6
Makefile
6
Makefile
@ -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 ./...
|
||||
|
Loading…
x
Reference in New Issue
Block a user