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