This repository has been archived by the owner on Jan 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from SlackKit/swift4+vapor
vapor/engine + Swift 4
- Loading branch information
Showing
15 changed files
with
173 additions
and
72 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 @@ | ||
4.0 |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
github "SlackKit/SKCore" >= 4.0.0 | ||
github "SlackKit/SKWebAPI" >= 4.0.0 | ||
github "daltoniam/Starscream" ~> 2.0 | ||
github "SlackKit/SKCore" >= 4.1.0 | ||
github "SlackKit/SKWebAPI" >= 4.1.0 | ||
github "daltoniam/Starscream" ~> 3.0 |
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 |
---|---|---|
@@ -1,20 +1,26 @@ | ||
// swift-tools-version:4.0 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "SKRTMAPI", | ||
targets: [ | ||
Target(name: "SKRTMAPI") | ||
products: [ | ||
.library(name: "SKRTMAPI", targets: ["SKRTMAPI"]) | ||
], | ||
dependencies: [ | ||
.Package(url: "https://github.com/SlackKit/SKCore", majorVersion: 4), | ||
.Package(url: "https://github.com/SlackKit/SKWebAPI", majorVersion: 4) | ||
] | ||
.package(url: "https://github.com/SlackKit/SKCore", .upToNextMajor(from: "4.0.0")), | ||
.package(url: "https://github.com/SlackKit/SKWebAPI", .upToNextMajor(from: "4.0.0")) | ||
], | ||
targets: [] | ||
) | ||
|
||
var dependency: Package.Dependency | ||
var target: Target | ||
#if os(macOS) || os(iOS) || os(tvOS) | ||
dependency = .Package(url: "https://github.com/daltoniam/Starscream", majorVersion: 2) | ||
target = .target(name: "SKRTMAPI", dependencies: ["SKCore", "SKWebAPI", "Starscream"]) | ||
dependency = .package(url: "https://github.com/daltoniam/Starscream", .upToNextMajor(from: "3.0.0")) | ||
#else | ||
dependency = .Package(url: "https://github.com/Zewo/WebSocketClient.git", majorVersion: 0, minor: 14) | ||
target = .target(name: "SKRTMAPI", dependencies: ["SKCore", "SKWebAPI", "WebSockets", "HTTP", "URI"]) | ||
dependency = .package(url: "https://github.com/vapor/engine", .upToNextMajor(from: "2.2.2")) | ||
#endif | ||
package.dependencies.append(dependency) | ||
package.targets.append(target) |
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "SKRTMAPI" | ||
s.version = "4.0.3" | ||
s.summary = "A Swift library for connecting to the Slack RTM API" | ||
s.homepage = "https://github.com/SlackKit/SKRTMAPI" | ||
s.license = 'MIT' | ||
s.author = { "Peter Zignego" => "peter@launchsoft.co" } | ||
s.source = { :git => "https://github.com/SlackKit/SKRTMAPI.git", :tag => s.version.to_s } | ||
s.social_media_url = 'https://twitter.com/pvzig' | ||
s.ios.deployment_target = '9.0' | ||
s.osx.deployment_target = '10.11' | ||
s.tvos.deployment_target = '9.0' | ||
s.requires_arc = true | ||
s.source_files = 'Sources/**/*.swift' | ||
s.frameworks = 'Foundation' | ||
s.dependency 'SKCore' | ||
s.dependency 'SKWebAPI' | ||
s.dependency 'Starscream' | ||
s.name = "SKRTMAPI" | ||
s.version = "4.1.0" | ||
s.summary = "A Swift library for connecting to the Slack RTM API" | ||
s.homepage = "https://github.com/SlackKit/SKRTMAPI" | ||
s.license = 'MIT' | ||
s.author = { "Peter Zignego" => "peter@launchsoft.co" } | ||
s.source = { :git => "https://github.com/SlackKit/SKRTMAPI.git", :tag => s.version.to_s } | ||
s.social_media_url = 'https://twitter.com/pvzig' | ||
s.ios.deployment_target = '9.0' | ||
s.osx.deployment_target = '10.11' | ||
s.tvos.deployment_target = '9.0' | ||
s.requires_arc = true | ||
s.source_files = 'Sources/**/*.swift' | ||
s.frameworks = 'Foundation' | ||
s.dependency 'SKCore' | ||
s.dependency 'SKWebAPI' | ||
s.dependency 'Starscream' | ||
end |
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
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
Oops, something went wrong.