Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 646c371bd3 |
@@ -0,0 +1,11 @@
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "SlackKit",
|
||||
targets: [],
|
||||
dependencies: [
|
||||
.Package(url: "https://github.com/pvzig/swifter.git",
|
||||
majorVersion: 3, minor: 0),
|
||||
.Package(url: "https://github.com/daltoniam/Starscream", majorVersion: 2, minor: 0)
|
||||
]
|
||||
)
|
||||
@@ -1,6 +1,6 @@
|
||||

|
||||
|
||||
   [](https://github.com/Carthage/Carthage)
|
||||
   [](https://github.com/apple/swift-package-manager) [](https://github.com/Carthage/Carthage)
|
||||
## SlackKit: A Swift Slack Client Library
|
||||
### Description
|
||||
|
||||
@@ -30,9 +30,23 @@ carthage bootstrap --configuration "Debug"
|
||||
|
||||
Drag the built `SlackKit.framework` into your Xcode project.
|
||||
|
||||
#### Swift Package Manager
|
||||
|
||||
Add SlackKit to your Package.swift
|
||||
```swift
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
dependencies: [
|
||||
.Package(url: "https://github.com/pvzig/SlackKit.git", majorVersion: 3)
|
||||
]
|
||||
)
|
||||
```
|
||||
|
||||
Run `swift build` on your application’s main directory.
|
||||
|
||||
#### ~~CocoaPods~~
|
||||
#### ~~Swift Package Manager~~
|
||||
SlackKit doesn’t currently build correctly using CocoaPods or Swift Package Manager and Swift 3. I’m hoping to restore support for both soon.
|
||||
SlackKit doesn’t currently build correctly using CocoaPods with Swift 3. I’m hoping to restore support soon.
|
||||
|
||||
To use the library in your project import it:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user