Skip to content

Commit 55d2fef

Browse files
authored
1.x: Add version marker modules (#66)
* 1.x: Add version marker modules * Update Package.swift
1 parent dbcd9d4 commit 55d2fef

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

Package.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ let package = Package(
3030
.target(
3131
name: "Sharing",
3232
dependencies: [
33+
"Sharing1",
3334
.product(name: "CombineSchedulers", package: "combine-schedulers"),
3435
.product(name: "CustomDump", package: "swift-custom-dump"),
3536
.product(name: "ConcurrencyExtras", package: "swift-concurrency-extras"),
@@ -42,5 +43,9 @@ let package = Package(
4243
.process("PrivacyInfo.xcprivacy")
4344
]
4445
),
46+
.target(
47+
name: "Sharing1",
48+
path: "Sources/VersionMarkerModules/Sharing1"
49+
),
4550
]
4651
)

[email protected]

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ let package = Package(
3030
.target(
3131
name: "Sharing",
3232
dependencies: [
33+
"Sharing1",
3334
.product(name: "CombineSchedulers", package: "combine-schedulers"),
3435
.product(name: "CustomDump", package: "swift-custom-dump"),
3536
.product(name: "ConcurrencyExtras", package: "swift-concurrency-extras"),
@@ -50,6 +51,10 @@ let package = Package(
5051
],
5152
exclude: ["Sharing.xctestplan"]
5253
),
54+
.target(
55+
name: "Sharing1",
56+
path: "Sources/VersionMarkerModules/Sharing1"
57+
),
5358
],
5459
swiftLanguageModes: [.v6]
5560
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// The 'Sharing1' module is intentionally empty.
2+
//
3+
// It serves as an indicator which version of swift-sharing a package is building against.

0 commit comments

Comments
 (0)