Skip to content

Commit

Permalink
Sanity check for curls existance
Browse files Browse the repository at this point in the history
  • Loading branch information
jbygdell committed Nov 22, 2023
1 parent 7aa3c04 commit ead3b45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ bootstrap: go-version-check
go get ./...; \
cd ..; \
done
if ! command -v curl >/dev/null; then \
echo "Can't install golangci-lint because curl is missing."; \
exit 1; \
fi
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
sh -s -- -b $$(go env GOPATH)/bin
GO111MODULE=off go get golang.org/x/tools/cmd/goimports
Expand Down

0 comments on commit ead3b45

Please sign in to comment.