Skip to content

Commit a0ce577

Browse files
committed
Enable MemberImportVisibility check on all targets
1 parent 350450f commit a0ce577

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Package.swift

+11
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,14 @@ for target in package.targets {
6363
settings.append(.enableExperimentalFeature("StrictConcurrency=complete"))
6464
target.swiftSettings = settings
6565
}
66+
67+
// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
68+
for target in package.targets {
69+
if target.type != .plugin {
70+
var settings = target.swiftSettings ?? []
71+
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
72+
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
73+
target.swiftSettings = settings
74+
}
75+
}
76+
// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //

0 commit comments

Comments
 (0)