Skip to content

Conversation

@d-ronnqvist
Copy link
Contributor

Bug/issue #, if applicable:

Summary

This renames the SwiftDocCUtilities target to CommandLine and removes the SwiftDocC prefix from SwiftDocCTestUtilities (simplifying it to only TestUtilities) to make the package organization a bit clearer, especially to new contributors.

The SwiftDocCUtilities target was a bit confusingly named since it didn't contain utilities and was all about defining the command line actions and the preview server for the preview command.

The prefix for the SwiftDocCTestUtilities target was just a bit redundant and IMO clearer—both in the package manifest and as an import—without it.

Dependencies

None.

Testing

Nothing in particular. This isn't a user-facing change.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

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

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@QuietMisdreavus QuietMisdreavus left a comment

Choose a reason for hiding this comment

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

Looks good. I really appreciate the new names for these targets.

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit d616aa5 into swiftlang:main Nov 10, 2025
2 checks passed
@d-ronnqvist d-ronnqvist deleted the rename-target-for-clarity branch November 10, 2025 09:33
@etcwilde
Copy link
Member

This appears to have caused a regression in CI:

[2025-11-10T11:28:21.125Z] error: multiple packages ('swift-docc', 'swift-driver') declare targets with a conflicting name: 'TestUtilities'; target names need to be unique across the package graph

https://ci.swift.org/view/all/job/oss-swift-package-freebsd-14/226/

etcwilde added a commit that referenced this pull request Nov 10, 2025
gottesmm pushed a commit that referenced this pull request Nov 10, 2025
d-ronnqvist added a commit that referenced this pull request Nov 11, 2025
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