-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/incorrect-bearer-token-format
- Loading branch information
Showing
5 changed files
with
66 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
version: 2 | ||
|
||
jobs: | ||
macos: | ||
macos: | ||
xcode: "9.0" | ||
steps: | ||
- run: brew install vapor/tap/ctls | ||
- checkout | ||
- run: swift build | ||
- run: swift build -c release | ||
- run: swift test | ||
|
||
linux-swift3: | ||
docker: | ||
- image: swift:3.1 | ||
steps: | ||
- run: apt-get install -yq libssl-dev | ||
- checkout | ||
- run: swift build | ||
- run: swift build -c release | ||
- run: swift test | ||
|
||
linux: | ||
docker: | ||
- image: swift:4.0 | ||
steps: | ||
- run: apt-get install -yq libssl-dev | ||
- checkout | ||
- run: swift build | ||
- run: swift build -c release | ||
- run: swift test | ||
|
||
workflows: | ||
version: 2 | ||
tests: | ||
jobs: | ||
- macos | ||
- linux-swift3 | ||
- linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
/Packages | ||
/*.xcodeproj | ||
Package.pins | ||
Package.resolved | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// swift-tools-version:4.0 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "JWTProvider", | ||
products: [ | ||
.library(name: "JWTProvider", targets: ["JWTProvider"]), | ||
], | ||
dependencies: [ | ||
// JSON Web Tokens in Swift by @siemensikkema. | ||
.package(url:"https://github.com/vapor/jwt.git", .upToNextMajor(from: "2.0.0")), | ||
|
||
// Middleware and conveniences for using Auth in Vapor. | ||
.package(url:"https://github.com/vapor/auth-provider.git", .upToNextMajor(from: "1.0.0")), | ||
|
||
// A web framework and server for Swift that works on macOS and Ubuntu. | ||
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "2.2.0")) | ||
], | ||
targets: [ | ||
.target(name: "JWTProvider", dependencies: ["JWT", "AuthProvider", "Vapor"]), | ||
.testTarget(name: "JWTProviderTests", dependencies: ["JWTProvider"]) | ||
] | ||
) |
This file was deleted.
Oops, something went wrong.