Skip to content

Commit f9dad79

Browse files
author
Michael Brzozowski
authored
Add missing argument for plugin usage
Building silently fails without adding package to plugin
1 parent c4bcada commit f9dad79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/protoc-gen-swift/Docs.docc/spm-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let package = Package(
4848
.executableTarget(
4949
name: "YourTarget",
5050
plugins: [
51-
.plugin(name: "SwiftProtobufPlugin")
51+
.plugin(name: "SwiftProtobufPlugin", package: "swift-protobuf")
5252
]
5353
),
5454
...

0 commit comments

Comments
 (0)