Skip to content

Commit a276945

Browse files
committed
Enable MemberImportVisibility check on all targets
1 parent 61ec6b6 commit a276945

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Package.swift

+8
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,11 @@ let package = Package(
147147
),
148148
]
149149
)
150+
151+
for target in package.targets {
152+
if target.type != .plugin {
153+
var settings = target.swiftSettings ?? []
154+
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
155+
target.swiftSettings = settings
156+
}
157+
}

0 commit comments

Comments
 (0)