Skip to content

Copy snippet symbol graphs to the correct final destination #43

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

Conversation

bitjammer
Copy link
Contributor

The snippet symbol graph is currently being generated with the changes in e013865, however they are not being copied to the correct final destination.

The snippet-extract tool now takes input and output files instead of directories, however there is still one place in the plugin where we are still treating the output like a directory, so the snippet symbol graph basename path component looks like a directory, and needs additional basenames to put it in the right place with the correct file extension.

rdar://104045850

  • Added tests
  • Ran the ./bin/test script and it succeeded
  • Updated documentation if necessary

@bitjammer
Copy link
Contributor Author

Thank you @ethan-kusters for the patch!

The snippet symbol graph is currently being generated with the changes in
e013865, however they are not being copied to the correct final
destination.

The `snippet-extract` tool now takes input and output *files* instead of
directories, however there is still one place in the plugin where we are still
treating the output like a directory, so the snippet symbol graph basename path
component looks like a directory, and needs additional basenames to put it in
the right place with the correct file extension.

rdar://104045850
@bitjammer bitjammer force-pushed the acgarland/rdar-104045850-copy-snippet-symbol-graph-destination branch from 57cf8d9 to 427b250 Compare January 10, 2023 00:55
@bitjammer
Copy link
Contributor Author

@swift-ci Please test

@ethan-kusters
Copy link
Contributor

@swift-ci please test

@bitjammer bitjammer merged commit a321770 into swiftlang:main Jan 10, 2023
@bitjammer bitjammer deleted the acgarland/rdar-104045850-copy-snippet-symbol-graph-destination branch January 10, 2023 03:26
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