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 @@ -54,11 +54,16 @@ for target in package.targets {
54
54
55
55
// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
56
56
for target in package . targets {
57
- if target. type != . plugin {
57
+ switch target. type {
58
+ case . regular, . test, . executable:
58
59
var settings = target. swiftSettings ?? [ ]
59
60
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
60
61
settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) )
61
62
target. swiftSettings = settings
63
+ case . macro, . plugin, . system, . binary:
64
+ ( ) // not applicable
65
+ @unknown default :
66
+ ( ) // we don't know what to do here, do nothing
62
67
}
63
68
}
64
69
// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
You can’t perform that action at this time.
0 commit comments