-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QoL: wiring up tfplugindocs
to the code generation
#170
Conversation
A call to `go generate` will now generate the documentation for the provider.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One quick question, otherwise looks good to me 🚀
GNUmakefile
Outdated
TEST?=$$(go list ./...) | ||
GOFMT_FILES?=$$(find . -name '*.go') | ||
PKG_NAME=tls | ||
GOLANGCILINT_INSTALLED := $(shell command -v golangci-lint 2> /dev/null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open question: Is this Windows compatible? If not, let's just let the underlying shell interpreter bubble its own "command not found" like error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point.
Until now our makefile for sure couldn't work on Windows (the use of find
, xargs
etc. make it impossible).
With this revamp, there is actually a chance that it might work on Windows (bar the make
dependency).
I'll get rid of this: a "command not found" would deliver pretty much the same thing.
I'll just leave a link to golangci-lint
to help future contributors.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Context: https://github.com/hashicorp/terraform-providers-devex-internal/issues/94
Follow up from: #169