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

CLI to print/diff generated sources #2308

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bendk
Copy link
Contributor

@bendk bendk commented Nov 12, 2024

This allows you to save the generated sources for some fixture/example, make some changes to the foreign bindings code, then print out a diff. I've been using this pattern when writing code, let's make it easier to use.

This came out of talking with @gruberb about ways to make it easier to know how changes to the code are affecting the bindings.

@bendk bendk requested a review from a team as a code owner November 12, 2024 19:32
@bendk bendk requested review from gruberb and removed request for a team November 12, 2024 19:32
This allows you to save the generated sources for some fixture/example,
make some changes to the foreign bindings code, then print out a diff.
I've been using this pattern when writing code, let's make it easier to
use.
Copy link
Member

@gruberb gruberb left a comment

Choose a reason for hiding this comment

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

What a great idea, I like it :)

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