Skip to content

Commit

Permalink
Updated deps. README tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcldr committed Jun 25, 2019
1 parent 29bcc03 commit 64a5574
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"repositoryURL": "http://github.com/tcldr/Entwine.git",
"state": {
"branch": null,
"revision": "5c26eac6c9c4e97d65d9c42eea355ec08f9e36e8",
"version": "0.1.0"
"revision": "0602dd38ff72fd704f38de90a74e2e4fd15e6ebe",
"version": "0.2.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let package = Package(
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "http://github.com/tcldr/Entwine.git", .upToNextMinor(from: "0.1.0")),
.package(url: "http://github.com/tcldr/Entwine.git", .upToNextMajor(from: "0.0.0")),
.package(url: "http://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "5.0.0")),
],
targets: [
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ import PackageDescription
let package = Package(
...
dependencies: [
.package(url: "http://github.com/tcldr/EntwineRx.git", .upToNextMajor(from: "0.1.0")),
.package(url: "http://github.com/tcldr/EntwineRx.git", .upToNextMajor(from: "0.0.0")),
],
...
targets: [.target(name: "MyTarget", dependencies: ["EntwineRx"]),
targets: [
.target(name: "MyTarget", dependencies: ["EntwineRx"]),
]
)
```
Expand All @@ -101,9 +102,10 @@ let package = Package(
### As part of an Xcode 11 or greater project:
1. Select the `File -> Swift Packages -> Add package dependency...` menu item.
2. Enter the repository url `https://github.com/tcldr/EntwineRx` and tap next.
3. Select 'version, 'up to next major', enter `0.1.0`, hit next.
4. Select the _Entwine_ library and specify the target you wish to use it with.
3. Select 'version, 'up to next major', enter `0.0.0`, hit next.
4. Select the _EntwineRx_ library and specify the target you wish to use it with.

*n.b. _EntwineRx_ is pre-release software and as such the API may change prior to reaching 1.0. For finer-grained control please use `.upToNextMinor(from:)` in your SPM dependency declaration*

---

Expand Down

0 comments on commit 64a5574

Please sign in to comment.