Skip to content

Update example so that it builds on Swift 6 #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,16 @@ let package = Package(
name: "BuildTools",
platforms: [.macOS(.v10_11)],
dependencies: [
.package(url: "https://github.com/cpisciotta/xcbeautify", from: "1.7.0"),
.package(url: "https://github.com/cpisciotta/xcbeautify", from: "2.11.0"),
],
targets: [
.target(name: "BuildTools", path: "")
.target(
name: "BuildTools",
dependencies: [
.product(name: "xcbeautify", package: "xcbeautify"),
],
path: ""
)
]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @vsarunas! Thanks for your contribution. Curious, why did you add this dependencies section? xcbeautify is an executable target. Did you mean to show how to use XcbeautifyLib? If so, can you change name to XcbeautifyLib. Otherwise, I think you can delete this part of the change.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can see an example here.

)
```
Expand Down