We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a062ec8 + 9ca4e51 commit e89eaefCopy full SHA for e89eaef
Package.swift
@@ -12,12 +12,7 @@
12
//===----------------------------------------------------------------------===//
13
14
import PackageDescription
15
-
16
-#if os(Linux)
17
-import Glibc
18
-#else
19
-import Darwin.C
20
-#endif
+import Foundation
21
22
let package = Package(
23
name: "swift-format",
@@ -141,7 +136,7 @@ let package = Package(
141
136
)
142
137
143
138
144
-if getenv("SWIFTCI_USE_LOCAL_DEPS") == nil {
139
+if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
145
140
// Building standalone.
146
package.dependencies += [
147
.package(url: "https://github.com/apple/swift-syntax", .branch("main")),
0 commit comments