Skip to content

Commit

Permalink
Upgrading to Perfect 3
Browse files Browse the repository at this point in the history
  • Loading branch information
RockfordWei committed Dec 28, 2017
1 parent 5f54cb7 commit d137f85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
/Packages
/*.xcodeproj
/*.pins
/*.resolved
/*.linux
12 changes: 9 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
// swift-tools-version:3.1

import PackageDescription
import Foundation

let url: String
if let cache = getenv("URL_PERFECT"), let local = String(validatingUTF8: cache) {
url = "\(local)/Perfect-CURL"
} else {
url = "https://github.com/PerfectlySoft/Perfect-CURL.git"
}

let package = Package(
name: "PerfectAWS",
dependencies: [
.Package(url: "https://github.com/PerfectlySoft/Perfect-CURL.git", majorVersion: 2)
.Package(url: url, majorVersion: 3)
]
)

0 comments on commit d137f85

Please sign in to comment.