We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8bbb13 commit db5861eCopy full SHA for db5861e
Package.swift
@@ -66,11 +66,16 @@ for target in package.targets {
66
67
// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
68
for target in package.targets {
69
- if target.type != .plugin {
+ switch target.type {
70
+ case .regular, .test, .executable:
71
var settings = target.swiftSettings ?? []
72
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
73
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
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
79
}
80
81
// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
0 commit comments