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

[Commands] Add exprimental support for swift-format #2253

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

aciidgh
Copy link
Member

@aciidgh aciidgh commented Jul 25, 2019

This adds a swift package _format command to format all the sources in
a package. The swift-format binary will be looked up in PATH and
SWIFT_FORMAT. Arguments after -- will passed to swift-format as options.
For now, this is just for experimentation and not an officially
supported feature.

rdar://problem/53549175

This adds a `swift package _format` command to format all the sources in
a package. The swift-format binary will be looked up in PATH and
SWIFT_FORMAT. Arguments after -- will passed to swift-format as options.
For now, this is just for experimentation and not an officially
supported feature.

<rdar://problem/53549175>
@aciidgh
Copy link
Member Author

aciidgh commented Jul 25, 2019

@swift-ci smoke test

Copy link
Member

@jakepetroules jakepetroules left a comment

Choose a reason for hiding this comment

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

Cool!

@aciidgh aciidgh merged commit 62e9683 into apple:master Jul 25, 2019
@aciidgh aciidgh deleted the swift-format branch July 25, 2019 22:57
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