File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,16 @@ for target in package.targets {
4949
5050// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
5151for target in package . targets {
52- if target. type != . plugin {
52+ switch target. type {
53+ case . regular, . test, . executable:
5354 var settings = target. swiftSettings ?? [ ]
5455 // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
5556 settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) )
5657 target. swiftSettings = settings
58+ case . macro, . plugin, . system, . binary:
59+ ( ) // not applicable
60+ @unknown default :
61+ ( ) // we don't know what to do here, do nothing
5762 }
5863}
5964// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
You can’t perform that action at this time.
0 commit comments