Skip to content
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

chore: Makefile improvements #143

Merged

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Oct 7, 2024

This change accomplishes the following in the Makefile:

  • Switches the speakeasy target speakeasy CLI command from generate sdk to run. This is recommended to ensure all generation features run as expected, such as Terraform provider code compilation.
  • Removes the docs target from the default target. The compilation that occurs during speakeasy run will automatically handle documentation regeneration.
  • Leaves the docs target, but with an added go mod download command to prevent Go errors in case anyone wants to make purely Terraform provider documentation changes outside what Speakeasy generates.

This change accomplishes the following in the `Makefile`:

* Switches the `speakeasy` target `speakeasy` CLI command from `generate sdk` to `run`. This is recommended to ensure all generation features run as expected, such as Terraform provider code compilation.
* Removes the `docs` target from the default target. The compilation that occurs during `speakeasy run` will automatically handle documentation regeneration.
* Leaves the `docs` target, but with an added `go mod download` command to prevent Go errors in case anyone wants to make purely Terraform provider documentation changes outside what Speakeasy generates.
@JonsSpaghetti JonsSpaghetti self-requested a review October 7, 2024 21:33
@JonsSpaghetti JonsSpaghetti merged commit 3fb0769 into airbytehq:main Oct 7, 2024
7 checks passed
@bflad bflad deleted the bflad/Makefile-workflow-updates branch October 8, 2024 12:22
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.

2 participants