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

Add a --check flag #17

Open
srdtrk opened this issue Mar 30, 2024 · 1 comment
Open

Add a --check flag #17

srdtrk opened this issue Mar 30, 2024 · 1 comment
Labels
blocked Progress on this issue is blocked enhancement New feature or request icebox Issues that will not be addressed for the time being
Milestone

Comments

@srdtrk
Copy link
Owner

srdtrk commented Mar 30, 2024

I don't like github workflows that generate code and push, which go-codegen can be used to create. Instead, I like workflows that check validity.

Therefore, I want to add a --check flag where go-codegen checks whether or not the output file provided (with -o flag) matches the output of the program.

@srdtrk srdtrk added the enhancement New feature or request label Mar 30, 2024
@srdtrk
Copy link
Owner Author

srdtrk commented Mar 30, 2024

Unfortunately, it seems the code generation is not deterministic, so a naive implementation doesn't work.

@srdtrk srdtrk added the blocked Progress on this issue is blocked label Mar 31, 2024
@srdtrk srdtrk added the icebox Issues that will not be addressed for the time being label May 9, 2024
@srdtrk srdtrk added this to the v0.3.0 milestone Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Progress on this issue is blocked enhancement New feature or request icebox Issues that will not be addressed for the time being
Projects
None yet
Development

No branches or pull requests

1 participant