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

Remove dependency on argument-parser #61

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

Kyle-Ye
Copy link
Contributor

@Kyle-Ye Kyle-Ye commented Sep 25, 2023

Credits: @ethan-kusters swiftlang/swift-markdown#149

Summary

Removes swift-docc-symbolkit's dependency on swift-argument-parser by refactoring the dump-unified-graph target into its own package.

Dump-unified-graph is largely intended as a tool for developers working on swift-docc-symbolkit so there isn't a need to vend it to clients. Removing argument-parser as a dependency allows for more clients to depend on swift-docc-symbolkit since it removes any potential conflicts with different argument-parser versions.

Testing

Confirm that markdown-tool and swift-markdown continue to build and work as expected.

swift build --product SymbolKit
swift test
swift run --package-path Tools dump-unified-graph

@Kyle-Ye
Copy link
Contributor Author

Kyle-Ye commented Sep 25, 2023

@swift-ci please test

Copy link
Contributor

@ethan-kusters ethan-kusters left a comment

Choose a reason for hiding this comment

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

Looks great. Thank you!

@ethan-kusters
Copy link
Contributor

@swift-ci please test

@Kyle-Ye Kyle-Ye merged commit 1a184ae into swiftlang:main Sep 25, 2023
@Kyle-Ye Kyle-Ye deleted the optimize/tool branch September 25, 2023 18:31
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.

2 participants