Skip to content

Commit 8be7a54

Browse files
authored
package.swift
1 parent b444154 commit 8be7a54

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,24 @@ You can read more about the BERT encoding at [Erlang Bert](http://erlang.org/doc
2323

2424
## Installation
2525

26-
BertSwift is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:
26+
Add to dependency in `package.swift`.
2727

28-
```ruby
29-
pod "BertSwift"
28+
```
29+
import PackageDescription
30+
31+
let package = Package(
32+
33+
dependencies: [
34+
.package(url: "https://github.com/erlang-chat/erlang_binary_term_format_swift.git", from: "2.2.0")
35+
//....
36+
],
37+
targets: [
38+
.target(name: "App", dependencies: ["BertSwift",
39+
//... other dependencies
40+
]),
41+
.target(name: "Run", dependencies: ["App"])
42+
]
43+
)
3044
```
3145

3246
## Change Log
@@ -38,7 +52,7 @@ pod "BertSwift"
3852

3953
## Author
4054

41-
Pankaj Soni <pankajsoni@softwarejoint.com>
55+
Pankaj Soni <pankajsoni19@live.com>
4256

4357
## License
4458

0 commit comments

Comments
 (0)