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

Merge pull request #391 from wtfutil/WTF-378-makefile-improvement

Display message if wtf cannot be found after installation. Closes #378
This commit is contained in:
Chris Cummer 2019-02-17 12:33:58 -08:00 committed by GitHub
commit 3b1aa9994f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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