Skip to content

Introduce a new executable, swift-help, which prints help info for tools #66

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
merged 2 commits into from
Mar 4, 2020

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Feb 3, 2020

swift-help is extremely simple, but it allows -help handling to more easily fit into the driver's Job model. A new SwiftOptions module contains the option types and definitions which are shared with the driver.

Note that the driver-side test is #if-ed out right now because there's no good way for the driver to find swift-help or ensure it's built when running tests yet.

Based on the discussion from https://forums.swift.org/t/swift-driver-and-help-documentation-lookup/32881/9, I don't think we'll end up using this for documentation lookup in the future. However, since it's such a small patch I think it's worth it for the architectural benefits alone.

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

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

This looks good to me. Sorry I merged something that introduced conflicts, though.

@owenv
Copy link
Contributor Author

owenv commented Feb 13, 2020

@DougGregor No problem, looks like it was just an import conflict with one of my other PRs, should be fixed now. Thanks for the review!

swift-help is extremely simple, but it allows -help handling to more easily
fit into the driver's Job model. A new SwiftOptions module contains the
option types and definitions which are shared with the driver.
@owenv
Copy link
Contributor Author

owenv commented Mar 3, 2020

@swift-ci test

@owenv
Copy link
Contributor Author

owenv commented Mar 3, 2020

Forgot to regenerate testing boilerplate

@swift-ci test

@owenv
Copy link
Contributor Author

owenv commented Mar 3, 2020

@swift-ci test

@owenv
Copy link
Contributor Author

owenv commented Mar 4, 2020

@swift-ci test macOS

@owenv owenv merged commit 7758e7f into swiftlang:master Mar 4, 2020
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