Skip to content

Commit

Permalink
Enable MemberImportVisibility check on all targets
Browse files Browse the repository at this point in the history
  • Loading branch information
rnro committed Dec 10, 2024
1 parent cad03db commit f3f22f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,11 @@ let package = Package(
dependencies: dependencies,
targets: targets
)

for target in package.targets {
if target.type != .plugin {
var settings = target.swiftSettings ?? []
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
target.swiftSettings = settings
}
}

0 comments on commit f3f22f8

Please sign in to comment.