Skip to content

Commit 2b8c8d2

Browse files
committed
Merge pull request stephencelis#309 from mikemee/patch-1
Add Carthage install info to main documentation
2 parents c8ddcd1 + 8d418fd commit 2b8c8d2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Documentation/Index.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SQLite.swift Documentation
22

33
- [Installation](#installation)
4+
- [Carthage](#carthage)
45
- [CocoaPods](#cocoapods)
56
- [Manual](#manual)
67
- [SQLCipher](#sqlcipher)
@@ -68,6 +69,27 @@
6869
> _Note:_ SQLite.swift requires Swift 2 (and [Xcode 7](https://developer.apple.com/xcode/downloads/)) or greater.
6970
7071

72+
### Carthage
73+
74+
[Carthage][] is a simple, decentralized dependency manager for Cocoa. To
75+
install SQLite.swift with Carthage:
76+
77+
1. Make sure Carthage is [installed][Carthage Installation].
78+
79+
2. Update your Cartfile to include the following:
80+
81+
```
82+
github "stephencelis/SQLite.swift" "master"
83+
```
84+
85+
3. Run `carthage update` and [add the appropriate framework][Carthage Usage].
86+
87+
88+
[Carthage]: https://github.com/Carthage/Carthage
89+
[Carthage Installation]: https://github.com/Carthage/Carthage#installing-carthage
90+
[Carthage Usage]: https://github.com/Carthage/Carthage#adding-frameworks-to-an-application
91+
92+
7193
### CocoaPods
7294
7395
[CocoaPods][] is a dependency manager for Cocoa projects. To install SQLite.swift with CocoaPods:

0 commit comments

Comments
 (0)