Skip to content

Commit 82996b5

Browse files
author
Raymond McCrae
committed
Move package manager instructions to their own markup file
1 parent 9c2c1d0 commit 82996b5

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

Docs/Carthage.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Carthage
2+
To use JSONPatch within your project, specify it in your `Cartfile`:
3+
```
4+
github "raymccrae/swift-jsonpatch" "v1.0.2"
5+
```

Docs/CocoaPods.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CocoaPods
2+
To use JSONPatch within your project. Add the "RMJSONPatch" into your `Podfile`:
3+
```ruby
4+
platform :ios, '8.0'
5+
use_frameworks!
6+
7+
target '<Your Target Name>' do
8+
pod 'RMJSONPatch', :git => 'https://github.com/raymccrae/swift-jsonpatch.git'
9+
end
10+
```

README.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,18 @@ JSONPatch is a a swift module implements json-patch [RFC6902](https://tools.ietf
88
The implementation uses the [JSON Patch Tests](https://github.com/json-patch/json-patch-tests) project for unit tests to validate its correctness.
99

1010
# Release
11-
1.1 - Support Swift 5
11+
1.0.2 - Support Swift 5
1212

1313
# Installation
1414

1515
## CocoaPods
16-
To use JSONPatch within your project. Add the "RMJSONPatch" into your `Podfile`:
17-
```ruby
18-
platform :ios, '8.0'
19-
use_frameworks!
20-
21-
target '<Your Target Name>' do
22-
pod 'RMJSONPatch', :git => 'https://github.com/raymccrae/swift-jsonpatch.git'
23-
end
24-
```
16+
See [CocoaPods.md](Docs/CocoaPods.md)
2517

2618
## Swift Package Manager
2719
See [SPM.md](Docs/SPM.md)
2820

2921
## Carthage
30-
To use JSONPatch within your project, specify it in your `Cartfile`:
31-
```
32-
github "raymccrae/swift-jsonpatch" "v1.0.1"
33-
```
22+
See [Carthage.md](Docs/Carthage.md)
3423

3524
# Usage
3625

0 commit comments

Comments
 (0)