Skip to content

Move build-script argument parser to separate module #11880

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

Merged

Conversation

Rostepher
Copy link
Contributor

@Rostepher Rostepher commented Sep 12, 2017

Purpose

This PR simply moves the argument parsing logic from the build-script main function into a separate module. There are no functional changes here apart from wrapping up the parser instantiation into a new create_argument_parser function. Having the parser in a separate module will allow for testing and stage future changes on the path to merging #11872.

rdar://problem/34336890

@gottesmm
Copy link
Contributor

LGTM. Thank you for splitting this out!

@Rostepher
Copy link
Contributor Author

@swift-ci smoke test

@Rostepher
Copy link
Contributor Author

I'm going to merge this change and then move on to rebase and test #11882.

Copy link
Contributor

@najacque najacque left a comment

Choose a reason for hiding this comment

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

LGTM. Splitting this out definitely helps reviewing!

@Rostepher Rostepher merged commit a66a27d into swiftlang:master Sep 12, 2017
@Rostepher Rostepher deleted the move-build-script-argument-parser branch September 12, 2017 23:38
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.

3 participants