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