Skip to content

Commit

Permalink
Update dependency requirement of llbuild
Browse files Browse the repository at this point in the history
This updates dependency on llbuild to be at 0.1.0 so SwiftPM can be used
as a package dependency.
  • Loading branch information
ankitspd committed Jun 13, 2019
1 parent 3a57975 commit 8656a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Expand Up @@ -259,7 +259,7 @@ import Darwin.C

if getenv("SWIFTPM_BOOTSTRAP") == nil {
package.dependencies += [
.package(url: "https://github.com/apple/swift-llbuild.git", .branch("master")),
.package(url: "https://github.com/apple/swift-llbuild.git", "0.1.0"..<"0.2.0"),
]
package.targets.first(where: { $0.name == "SPMLLBuild" })!.dependencies += ["llbuildSwift"]
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Basic/SortedArray.swift
Expand Up @@ -69,7 +69,7 @@ public struct SortedArray<Element>: CustomStringConvertible {

/// Insert the given sequence, maintaining the sort order.
public mutating func insert<S: Sequence>(contentsOf newElements: S) where S.Iterator.Element == Element {
var newElements: Array = newElements.sorted(by: areInIncreasingOrder)
let newElements: Array = newElements.sorted(by: areInIncreasingOrder)
guard !newElements.isEmpty else {
return
}
Expand Down

0 comments on commit 8656a25

Please sign in to comment.