Skip to content

Commit 1ad55f2

Browse files
Fix error in documentation and bump the version
1 parent 9130ef7 commit 1ad55f2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Source/Swift/Documentation.docc/DefiningAModule.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Defining a new Emacs module from Swift.
99
Add the following line to you package dependencies:
1010

1111
```swift
12-
.package("https://github.com/SavchenkoValeriy/emacs-swift-module.git", from: "1.3.0")
12+
.package("https://github.com/SavchenkoValeriy/emacs-swift-module.git", from: "1.3.2")
1313
```
1414

1515
Or add `"https://github.com/SavchenkoValeriy/emacs-swift-module.git"` directly via Xcode.
@@ -26,13 +26,17 @@ products: [
2626
targets: ["AwesomeSwiftEmacsModule"]),
2727
],
2828
dependencies: [
29-
.package("https://github.com/SavchenkoValeriy/emacs-swift-module.git", from: "1.3.0")
29+
.package("https://github.com/SavchenkoValeriy/emacs-swift-module.git", from: "1.3.2")
3030
],
3131
targets: [
3232
.target(
3333
name: "AwesomeSwiftEmacsModule",
34-
dependencies: ["EmacsSwiftModule"],
35-
plugins: ["ModuleFactoryPlugin"]
34+
dependencies: [
35+
.product(name: "EmacsSwiftModule", package: "emacs-swift-module")
36+
],
37+
plugins: [
38+
.plugin(name: "ModuleFactoryPlugin", package: "emacs-swift-module")
39+
]
3640
)
3741
]
3842
```

0 commit comments

Comments
 (0)