Skip to content

Commit 195fd09

Browse files
committed
Enable MemberImportVisibility check on all targets
1 parent f3a18d0 commit 195fd09

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Package.swift

+8
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,11 @@ let package = Package(
8383
),
8484
]
8585
)
86+
87+
for target in package.targets {
88+
if target.type != .plugin {
89+
var settings = target.swiftSettings ?? []
90+
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
91+
target.swiftSettings = settings
92+
}
93+
}

0 commit comments

Comments
 (0)