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 --gyb-only flag to build script's generate-source-code #481

Merged
merged 1 commit into from
Jul 3, 2022

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented Jul 2, 2022

When working on SwiftSyntaxBuilderGeneration, it can occasionally be useful to only generate gyb templates (skipping SwiftSyntaxBuilderGeneration's Swift templates). Previously this could be achieved with --degyb-only, with the refactoring of the build script, however, this option was removed in favor of generate-source-code, which performs all forms of code generation at once. While that is what most people want to do most of the time, having the option to only perform gyb generation can still be a useful tool sometimes, hence this new flag.

cc @kimdv @ahoppen

@fwcd fwcd requested a review from ahoppen as a code owner July 2, 2022 15:25
@fwcd
Copy link
Member Author

fwcd commented Jul 2, 2022

@swift-ci please test

Copy link
Contributor

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

SGTM 👍

@fwcd fwcd merged commit eb08d4a into swiftlang:main Jul 3, 2022
@fwcd fwcd deleted the build-script-gyb-only branch July 3, 2022 09:59
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.

None yet

2 participants