Skip to content

Conversation

@lcaballero
Copy link

Adding checks for required executables. The makefile now gives warnings if the executables are not found.

$(error "requires go version 1.16.6 or higher")
endif
ifndef HAS_STATICCHECK
$(error "staticcheck is not on PATH")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should declare required tools in go.mod, e.g.:
https://marcofranssen.nl/manage-go-tools-via-go-modules#tldr

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I was almost sure as figured it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants