Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2736bd6

Browse files
committedDec 11, 2024
Enable MemberImportVisibility check on all targets
1 parent 36da108 commit 2736bd6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
 

Diff for: ‎Package.swift

+11
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,14 @@ let package = Package(
5050
),
5151
]
5252
)
53+
54+
// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
55+
for target in package.targets {
56+
if target.type != .plugin {
57+
var settings = target.swiftSettings ?? []
58+
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
59+
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
60+
target.swiftSettings = settings
61+
}
62+
}
63+
// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //

0 commit comments

Comments
 (0)
Please sign in to comment.