Skip to content

Commit d83f112

Browse files
rnroglbrntt
andauthored
Enable MemberImportVisibility check on all targets (#16)
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. --------- Co-authored-by: George Barnett <[email protected]>
1 parent c29e0f6 commit d83f112

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ let defaultSwiftSettings: [SwiftSetting] = [
5555
.swiftLanguageMode(.v6),
5656
.enableUpcomingFeature("ExistentialAny"),
5757
.enableUpcomingFeature("InternalImportsByDefault"),
58+
.enableUpcomingFeature("MemberImportVisibility"),
5859
]
5960

6061
let targets: [Target] = [

Sources/GRPCInteropTests/InteroperabilityTestCases.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616

1717
internal import GRPCCore
18+
private import SwiftProtobuf
1819

1920
private import struct Foundation.Data
2021

Sources/GRPCInteropTests/TestService.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
private import Foundation
1818
public import GRPCCore
19+
private import SwiftProtobuf
1920

2021
public struct TestService: Grpc_Testing_TestService.ServiceProtocol {
2122
public init() {}

Tests/GRPCHealthServiceTests/HealthTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import GRPCCore
1818
import GRPCHealthService
1919
import GRPCInProcessTransport
20+
import SwiftProtobuf
2021
import XCTest
2122

2223
final class HealthTests: XCTestCase {

0 commit comments

Comments
 (0)