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