Skip to content

Commit c8a89d5

Browse files
authored
Merge pull request #21 from vapor/swift-4
swift 4
2 parents b04c9ce + 1c25d0f commit c8a89d5

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
/*.xcodeproj
55
Package.pins
66
DerivedData
7+
Package.resolved
78

Package@swift-4.swift

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// swift-tools-version:4.0
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "AuthProvider",
6+
products: [
7+
.library(name: "AuthProvider", targets: ["AuthProvider"]),
8+
],
9+
dependencies: [
10+
// A web framework and server for Swift that works on macOS and Ubuntu.
11+
.package(url: "https://github.com/vapor/auth.git", .upToNextMajor(from: "1.2.0")),
12+
13+
// A web framework and server for Swift that works on macOS and Ubuntu.
14+
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "2.2.0")),
15+
],
16+
targets: [
17+
.target(name: "AuthProvider", dependencies: ["Authentication", "Authorization", "Vapor"]),
18+
.testTarget(name: "AuthProviderTests", dependencies: ["AuthProvider", "Testing"])
19+
]
20+
)

circle.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
dependencies:
22
override:
33
- eval "$(curl -sL https://apt.vapor.sh)"
4-
- sudo apt-get install vapor
4+
- sudo apt-get install swift
55
- sudo chmod -R a+rx /usr/
66
test:
77
override:
88
- swift build
99
- swift build -c release
1010
- swift test
11+
- sudo apt-get remove swift
12+
- sudo apt-get install swift-beta
13+
- swift build
14+
- swift build -c release
15+
- swift test
16+

0 commit comments

Comments
 (0)