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 {
135
135
136
136
// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
137
137
for target in package . targets {
138
- if target. type != . plugin && target. type != . system {
138
+ switch target. type {
139
+ case . regular, . test, . executable:
139
140
var settings = target. swiftSettings ?? [ ]
140
141
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
141
142
settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) )
142
143
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
143
148
}
144
149
}
145
150
// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
You can’t perform that action at this time.
0 commit comments