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