Skip to content

Commit

Permalink
Merge pull request #40 from CodaFi/readme-and-weep
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
CodaFi authored Sep 18, 2016
2 parents 08fea87 + 7376e93 commit 57f50d8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
12 changes: 7 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import PackageDescription

let package = Package(
name: "Concurrent",
targets: [
Target(
name: "Concurrent",
dependencies: []),
name: "Concurrent",
targets: [
Target(
name: "Concurrent",
dependencies: []),
]
)

let libConcurrent = Product(name: "Concurrent", type: .Library(.Dynamic), modules: "Concurrent")
products.append(libConcurrent)
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,23 +136,29 @@ System Requirements

Concurrent supports OS X 10.9+ and iOS 7.0+.

Setup
Installation
=====

Concurrent can be included one of two ways:
#### Swift Package Manager

**Using Carthage**
- Add SwiftCheck to your `Package.swift` file's dependencies section:

- Add Concurrent to your Cartfile
- Run `carthage update`
- Drag the relevant copy of Concurrent into your project.
- Expand the Link Binary With Libraries phase
- Click the + and add Concurrent
- Click the + at the top left corner to add a Copy Files build phase
- Set the directory to `Frameworks`
- Click the + and add Concurrent
```
.Package(url: "https://github.com/typelift/Concurrent.git", versions: Version(0,4,0)..<Version(1,0,0))
```

#### Carthage
Create a `Cartfile` that lists the framework and run `carthage bootstrap`. Follow the [instructions](https://github.com/Carthage/Carthage#if-youre-building-for-ios) to add `$(SRCROOT)/Carthage/Build/iOS/Concurrent.framework` to an iOS project.

```
github "typelift/Concurrent"
```

#### Manually
1. Download and drop `/Sources` folder in your project.
2. Congratulations!

**Framework**
#### Framework

- Drag Concurrent.xcodeproj or Concurrent-iOS.xcodeproj into your project tree as a subproject
- Under your project's Build Phases, expand Target Dependencies
Expand Down

0 comments on commit 57f50d8

Please sign in to comment.