Skip to content

Commit d616aa5

Browse files
authored
Rename two internal targets for clarity (#1330)
* Rename 'SwiftDocCUtilities' target to 'CommandLine' for clarity * Remove unnecessary prefix from 'SwiftDocCTestUtilities' target * Update library name in CMake files
1 parent a211e37 commit d616aa5

File tree

237 files changed

+191
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

237 files changed

+191
-191
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions

Package.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
This source file is part of the Swift.org open source project
44

5-
Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
5+
Copyright (c) 2021-2025 Apple Inc. and the Swift project authors
66
Licensed under Apache License v2.0 with Runtime Library Exception
77

88
See https://swift.org/LICENSE.txt for license information
@@ -55,7 +55,7 @@ let package = Package(
5555
name: "SwiftDocCTests",
5656
dependencies: [
5757
.target(name: "SwiftDocC"),
58-
.target(name: "SwiftDocCTestUtilities"),
58+
.target(name: "TestUtilities"),
5959
],
6060
resources: [
6161
.copy("Test Resources"),
@@ -67,7 +67,7 @@ let package = Package(
6767
),
6868
// Command-line tool library
6969
.target(
70-
name: "SwiftDocCUtilities",
70+
name: "CommandLine",
7171
dependencies: [
7272
.target(name: "SwiftDocC"),
7373
.product(name: "NIOHTTP1", package: "swift-nio", condition: .when(platforms: [.macOS, .iOS, .linux, .android])),
@@ -77,11 +77,11 @@ let package = Package(
7777
swiftSettings: swiftSettings
7878
),
7979
.testTarget(
80-
name: "SwiftDocCUtilitiesTests",
80+
name: "CommandLineTests",
8181
dependencies: [
82-
.target(name: "SwiftDocCUtilities"),
82+
.target(name: "CommandLine"),
8383
.target(name: "SwiftDocC"),
84-
.target(name: "SwiftDocCTestUtilities"),
84+
.target(name: "TestUtilities"),
8585
],
8686
resources: [
8787
.copy("Test Resources"),
@@ -92,7 +92,7 @@ let package = Package(
9292

9393
// Test utility library
9494
.target(
95-
name: "SwiftDocCTestUtilities",
95+
name: "TestUtilities",
9696
dependencies: [
9797
.target(name: "SwiftDocC"),
9898
.product(name: "SymbolKit", package: "swift-docc-symbolkit"),
@@ -104,17 +104,17 @@ let package = Package(
104104
.executableTarget(
105105
name: "docc",
106106
dependencies: [
107-
.target(name: "SwiftDocCUtilities"),
107+
.target(name: "CommandLine"),
108108
],
109109
exclude: ["CMakeLists.txt"],
110110
swiftSettings: swiftSettings
111111
),
112112

113-
// Test app for SwiftDocCUtilities
113+
// Test app for CommandLine
114114
.executableTarget(
115115
name: "signal-test-app",
116116
dependencies: [
117-
.target(name: "SwiftDocCUtilities"),
117+
.target(name: "CommandLine"),
118118
],
119119
path: "Tests/signal-test-app",
120120
swiftSettings: swiftSettings

Sources/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ See https://swift.org/LICENSE.txt for license information
88
#]]
99

1010
add_subdirectory(SwiftDocC)
11-
add_subdirectory(SwiftDocCUtilities)
11+
add_subdirectory(CommandLine)
1212
add_subdirectory(docc)

0 commit comments

Comments
 (0)