Skip to content

Commit

Permalink
write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
omochi committed Dec 21, 2022
1 parent 374c6dc commit 80118d1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Docs/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Add `CodegenKit` as dependency of your project.
let package = Package(
...
dependencies: [
.package(url: "https://github.com/omochi/CodegenKit", from: "1.2.1")
.package(url: "https://github.com/omochi/CodegenKit", from: "1.2.2")
]
...
)
Expand Down
5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ let package = Package(
capability: .command(
intent: .custom(
verb: "codegen-kit", description: "Use CodegenKit CLI"
)
),
permissions: [
.writeToPackageDirectory(reason: "Setup project")
]
),
dependencies: [
.target(name: "codegen-kit")
Expand Down
2 changes: 1 addition & 1 deletion Sources/CodegenKit/Module.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
public enum Module {
public static let version = "1.2.1"
public static let version = "1.2.2"
}

2 changes: 1 addition & 1 deletion Tests/CodegenKitCLITests/ExampleManifesto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let package = Package(

if hasCodegenKit {
lines.append("""
.package(url: "https://github.com/omochi/CodegenKit", from: "1.2.1"),
.package(url: "https://github.com/omochi/CodegenKit", from: "1.2.2"),
""")
}

Expand Down

0 comments on commit 80118d1

Please sign in to comment.