Skip to content

Commit bd05761

Browse files
committed
Clean up export of essentials, and stop warning about resources
1 parent 0f87f9d commit bd05761

File tree

5 files changed

+7
-60
lines changed

5 files changed

+7
-60
lines changed

Package.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ let package = Package(
180180
"XCTest"
181181
],
182182
resources: [
183-
.copy("Tests/Foundation/Resources/Info.plist"),
184-
.copy("Tests/Foundation/Resources/NSStringTestData.txt")
183+
.copy("Foundation/Resources")
185184
],
186185
swiftSettings: [
187186
.define("NS_FOUNDATION_ALLOWS_TESTABLE_IMPORT")

Sources/Foundation/Date.swift

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
88
//
99

10-
@_exported import FoundationEssentials
11-
1210
@_implementationOnly import _CoreFoundation
1311

1412
/**

Sources/Foundation/Essentials.swift

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
// Re-export FoundationEssentials and Internationalization
3+
@_exported import FoundationEssentials
4+
@_exported import FoundationInternationalization
5+
6+

Sources/FoundationNetworking/Resources/Info.plist

-28
This file was deleted.

Sources/FoundationXML/Resources/Info.plist

-28
This file was deleted.

0 commit comments

Comments
 (0)