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 functionality to mechanically edit Package.swift file #1966

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

aciidgh
Copy link
Contributor

@aciidgh aciidgh commented Feb 4, 2019

This adds functionality to mechanically edit the Package.swift file
using the SwiftSyntax library. The functionality is encapsulated in
a PackageEditor target and is driven using a new "swiftpm-manifest-tool"
tool. This tool is an implementation detail and the actual functionality
will be available using the swift package tool.

@aciidgh aciidgh added the WIP Work in progress label Feb 4, 2019
This adds functionality to mechanically edit the Package.swift file
using the SwiftSyntax library. The functionality is encapsulated in
a PackageEditor target and is driven using a new "swiftpm-manifest-tool"
tool. This tool is an implementation detail and the actual functionality
will be available using the `swift package` tool.
@nkcsgexi
Copy link

nkcsgexi commented Feb 4, 2019

Super cool!👍

return localFileSystem.isFile(manifestPath) ? manifestPath : nil
}

final class PackageIndex {
Copy link
Contributor

Choose a reason for hiding this comment

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

🤯

@aciidgh
Copy link
Contributor Author

aciidgh commented Feb 5, 2019

@swift-ci smoke test

@aciidgh aciidgh merged commit d8821ba into swiftlang:master Feb 5, 2019
@aciidgh aciidgh deleted the package-editor branch February 5, 2019 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants