File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Sources/Valkey/Documentation.docc Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,16 @@ You can use the `add-dependency` command:
12
12
13
13
``` bash
14
14
swift package add-dependency \
15
- https://github.com/valkey-io/valkey-swift --branch main
15
+ https://github.com/valkey-io/valkey-swift --from: 0.1.0
16
16
```
17
- <!-- switch above to `--from: 0.1.0` after tagging an initial release -->
18
17
19
18
or edit Package.swift directly:
20
19
``` swift
21
20
dependencies: [
22
21
.package (url : " https://github.com/valkey-io/valkey-swift" ,
23
- branch : " main " ),
22
+ from : " 0.1.0 " ),
24
23
]
25
24
```
26
- <!-- switch above to `from: "0.1.0"` after tagging an initial release -->
27
25
28
26
And for the relevant target or targets.
29
27
The following example shows how to add to Valkey as a dependency to the target ` MyApp ` :
You can’t perform that action at this time.
0 commit comments