Skip to content

Commit 6371fe0

Browse files
committed
Add "cartspec", updated README.md
1 parent 8c293b6 commit 6371fe0

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# objectbox-swift-spec-staging
1+
# ObjectBox Staging repository
22

3-
CocoaPods spec repo for pre-release tests.
3+
CocoaPods/Carthage spec repo for **pre-release** versions of [ObjectBox Swift](https://github.com/objectbox/objectbox-swift).
44

5-
**Please get your final versions from the official CocoaPods repository.**
5+
**THIS IS NOT THE OFFICIAL RELEASE CHANNEL.**

cartspec/ObjectBox.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"1.1.1": "https://github.com/objectbox/objectbox-swift/releases/download/v1.1.1/ObjectBox-1.1.1-Carthage.framework.zip"
3+
}

cartspec/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ObjectBox Carthage Binary Project Specification
2+
===============================================
3+
This folder contains [ObjectBox.json](ObjectBox.json), a [Chartage "index" for binary frameworks](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#binary-project-specification).
4+
The advantage of using binary distribution is that those are slimmer than the "github" definition.
5+
Using "binary" instead, never causes Carthage to check out the Git repository.
6+
Thus updates are faster and less disk space is used.
7+
8+
Add binary ObjectBox dependency
9+
-------------------------------
10+
In your Cartfile, you typically add a line like this:
11+
12+
binary "https://raw.githubusercontent.com/objectbox/objectbox-swift/master/cartspec/ObjectBox.json"
13+
14+
For details and up-to-date information, please consult the [installation docs](https://swift.objectbox.io/install).

0 commit comments

Comments
 (0)