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

Clean previously generated files before generation for generator_go.sh #47

Merged
merged 6 commits into from
Dec 15, 2022

Conversation

algochoi
Copy link
Contributor

@algochoi algochoi commented Dec 14, 2022

Addresses #46

This PR adds a line to the script to clean previously generated files. This will make sure that the generator generates up to date code and deletions in the API spec are reflected in the codebase as well.

Alternatively we considered moving hand-written files inside this repo (generator), but it seems tricky to maintain versus keeping them inside the respective SDK repos.

Tests

Go:

@algochoi algochoi changed the title WIP: Clean previously generated files before generation Clean previously generated files before generation for generator_go.sh Dec 15, 2022
Co-authored-by: Michael Diamant <[email protected]>
Copy link
Contributor

@michaeldiamant michaeldiamant left a comment

Choose a reason for hiding this comment

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

@algochoi Thanks for figuring out a path forward for Go SDK!

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