File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Plugins/AWSLambdaPackager Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1212//
1313//===----------------------------------------------------------------------===//
1414
15- import Foundation
1615import PackagePlugin
1716
17+ #if canImport(FoundationEssentials)
18+ import FoundationEssentials
19+ #else
20+ import struct Foundation. URL
21+ import class Foundation. FileManager
22+ import class Foundation. ProcessInfo
23+ import struct Foundation. ObjCBool
24+ #endif
25+
1826@main
1927@available ( macOS 15 . 0 , * )
2028struct AWSLambdaPackager : CommandPlugin {
Original file line number Diff line number Diff line change 1313//===----------------------------------------------------------------------===//
1414
1515import Dispatch
16- import Foundation
1716import PackagePlugin
1817import Synchronization
1918
19+ #if canImport(FoundationEssentials)
20+ import FoundationEssentials
21+ #else
22+ import struct Foundation. URL
23+ import struct Foundation. CharacterSet
24+ import struct Foundation. Data
25+ import class Foundation. Pipe
26+ import class Foundation. Process
27+ #endif
28+
2029@available ( macOS 15 . 0 , * )
2130struct Utils {
2231 @discardableResult
You can’t perform that action at this time.
0 commit comments