File tree Expand file tree Collapse file tree 4 files changed +27
-1
lines changed
Sources/VersionMarkerModules Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ let package = Package(
2929 . target(
3030 name: " Sharing " ,
3131 dependencies: [
32+ " Sharing1 " ,
33+ " Sharing2 " ,
3234 . product( name: " CombineSchedulers " , package : " combine-schedulers " ) ,
3335 . product( name: " CustomDump " , package : " swift-custom-dump " ) ,
3436 . product( name: " Dependencies " , package : " swift-dependencies " ) ,
@@ -39,6 +41,14 @@ let package = Package(
3941 resources: [
4042 . process( " PrivacyInfo.xcprivacy " )
4143 ]
42- )
44+ ) ,
45+ . target(
46+ name: " Sharing1 " ,
47+ path: " Sources/VersionMarkerModules/Sharing1 "
48+ ) ,
49+ . target(
50+ name: " Sharing2 " ,
51+ path: " Sources/VersionMarkerModules/Sharing2 "
52+ ) ,
4353 ]
4454)
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ let package = Package(
2929 . target(
3030 name: " Sharing " ,
3131 dependencies: [
32+ " Sharing1 " ,
33+ " Sharing2 " ,
3234 . product( name: " CombineSchedulers " , package : " combine-schedulers " ) ,
3335 . product( name: " CustomDump " , package : " swift-custom-dump " ) ,
3436 . product( name: " Dependencies " , package : " swift-dependencies " ) ,
@@ -48,6 +50,14 @@ let package = Package(
4850 ] ,
4951 exclude: [ " Sharing.xctestplan " ]
5052 ) ,
53+ . target(
54+ name: " Sharing1 " ,
55+ path: " Sources/VersionMarkerModules/Sharing1 "
56+ ) ,
57+ . target(
58+ name: " Sharing2 " ,
59+ path: " Sources/VersionMarkerModules/Sharing2 "
60+ ) ,
5161 ] ,
5262 swiftLanguageModes: [ . v6]
5363)
Original file line number Diff line number Diff line change 1+ // The 'Sharing1' module is intentionally empty.
2+ //
3+ // It serves as an indicator which version of swift-sharing a package is building against.
Original file line number Diff line number Diff line change 1+ // The 'Sharing2' module is intentionally empty.
2+ //
3+ // It serves as an indicator which version of swift-sharing a package is building against.
You can’t perform that action at this time.
0 commit comments