Skip to content

Commit

Permalink
[Package.swift] Require swift-llbuild and swift-tools-support-core us…
Browse files Browse the repository at this point in the history
…ing semver dependencies
  • Loading branch information
abertelrud committed Mar 31, 2020
1 parent f2318da commit f5ea397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Expand Up @@ -210,7 +210,7 @@ import class Foundation.ProcessInfo
if ProcessInfo.processInfo.environment["SWIFTPM_LLBUILD_FWK"] == nil {
if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
package.dependencies += [
.package(url: "https://github.com/apple/swift-llbuild.git", .branch("swift-5.2-branch")),
.package(url: "https://github.com/apple/swift-llbuild.git", .exact("0.3.0")),
]
} else {
// In Swift CI, use a local path to llbuild to interoperate with tools
Expand All @@ -224,7 +224,7 @@ if ProcessInfo.processInfo.environment["SWIFTPM_LLBUILD_FWK"] == nil {

if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
package.dependencies += [
.package(url: "https://github.com/apple/swift-tools-support-core.git", .branch("swift-5.2-branch")),
.package(url: "https://github.com/apple/swift-tools-support-core.git", .exact("0.1.0")),
]
} else {
package.dependencies += [
Expand Down

0 comments on commit f5ea397

Please sign in to comment.