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 @@ -135,11 +135,16 @@ for target in package.targets {
135135
136136// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
137137for target in package . targets {
138- if target. type != . plugin && target. type != . system {
138+ switch target. type {
139+ case . regular, . test, . executable:
139140 var settings = target. swiftSettings ?? [ ]
140141 // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
141142 settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) )
142143 target. swiftSettings = settings
144+ case . macro, . plugin, . system, . binary:
145+ ( ) // not applicable
146+ @unknown default :
147+ ( ) // we don't know what to do here, do nothing
143148 }
144149}
145150// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
You can’t perform that action at this time.
0 commit comments