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 14e5b05 commit 5e12b81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
.package(path: "../swift-asn1"),
]
}

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

0 comments on commit 5e12b81

Please sign in to comment.