Use https for dependency so no SSH login is needed. (#40)

Motivation:

We should just use https for our dependency so the user not need to have a github user at all and no ssh configured.

Modifications:

Just use https

Result:

Easier to use and consume SwiftNIO
This commit is contained in:
Johannes Weiß 2018-02-28 13:27:47 +00:00 committed by Cory Benfield
parent ee6cfcf9cf
commit 8684fdf00f
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ let package = Package(
.library(name: "NIOConcurrencyHelpers", targets: ["NIOConcurrencyHelpers"]),
],
dependencies: [
.package(url: "git@github.com:apple/swift-nio-zlib-support.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-nio-zlib-support.git", from: "1.0.0"),
],
targets: targets
)

View File

@ -131,7 +131,7 @@ The following projects contain useful protocol implementations that do not live
SwiftNIO primarily uses [SwiftPM](https://swift.org/package-manager/) as its build tool, so we recommend using that as well. If you want to depend on SwiftNIO in your own project, it's as simple as adding a `dependencies` clause to your `Package.swift`:
dependencies: [
.package(url: "git@github.com:apple/swift-nio.git", from: "1.0.0")
.package(url: "https://github.com/apple/swift-nio-zlib-support.git", from: "1.0.0")
]
and then adding the appropriate SwiftNIO module(s) to your target dependencies.