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