Skip to content

Commit

Permalink
Make Xcodeproj configuration more convenient.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyáš Kříž committed Jun 15, 2024
1 parent b1ff038 commit 69b4945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Generator/Sources/CLI/Module.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class Module {
self.xcodeproj = Xcodeproj(
path: xcodeproj.path.map {
Path($0, expandingTilde: true).relative(to: configurationPath.parent)
} ?? configurationPath,
} ?? configurationPath.parent,
target: target
)
} else {
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ keepDocumentation = false

# If specified, Cuckoo can also get sources for the module from an Xcode target.
[modules.MyProject.xcodeproj]
# Path to folder with .xcodeproj, omit this if it's at the same level as Cuckoofile.
path = "Generator"
target = "Cuckoonator"
```
Expand Down

0 comments on commit 69b4945

Please sign in to comment.