mirror of
https://github.com/apple/swift-certificates
synced 2026-11-27 04:54:20 +00:00
Enable MemberImportVisibility check on all targets (#211)
Enable MemberImportVisibility check on all targets. Use a standard string header and footer to bracket the new block for ease of updating in the future with scripts.
This commit is contained in:
1 parent
14e5b05d67
commit
62da4e684d
3 files changed
+13
No files matched your search
@@ -90,3 +90,14 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
|
||||
.package(path: "../swift-asn1"),
|
||||
]
|
||||
}
|
||||
|
||||
// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
|
||||
for target in package.targets {
|
||||
if target.type != .plugin {
|
||||
var settings = target.swiftSettings ?? []
|
||||
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
|
||||
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
|
||||
target.swiftSettings = settings
|
||||
}
|
||||
}
|
||||
// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
|
||||
@@ -13,6 +13,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import XCTest
|
||||
import SwiftASN1
|
||||
import X509
|
||||
|
||||
final class ExtendedKeyUsageTests: XCTestCase {
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import XCTest
|
||||
import SwiftASN1
|
||||
import X509
|
||||
|
||||
final class ExtensionBuilderTests: XCTestCase {
|
||||
|
||||
Reference in new issue
Block a user