-
-
Notifications
You must be signed in to change notification settings - Fork 18
feat: Update README.md #37
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -365,7 +365,7 @@ Do not forget about target dependencies: | |
|
|
||
| > [!TIP] | ||
| > | ||
| > _You can extend compatibility by supporting multiple [`swift-syntax`](https://github.com/swiftlang/swift-syntax) versions_ | ||
| > _You can extend compatibility of your libraries by supporting multiple [`swift-syntax`](https://github.com/swiftlang/swift-syntax) versions_ | ||
| > | ||
| > ```swift | ||
| > .package( | ||
|
|
@@ -384,3 +384,10 @@ Do not forget about target dependencies: | |
| > | `0.6.0` | `600.0.0` | | ||
| > | `0.7.0` | `601.0.0` | | ||
| > | `0.8.0` | `602.0.0` | | ||
| > | ||
| > _It is also possible to use local [`swift-syntax`](https://github.com/swiftlang/swift-syntax) overrides if some other dependency pervents you from depending on newer [`swift-macro-toolkit`](https://github.com/stackotter/swift-macro-toolkit) version and vice versa. It requires cloning [`swift-syntax`](https://github.com/swiftlang/swift-syntax) into a local directory and depending your app on the local clone. Usually [`swift-syntax`](https://github.com/swiftlang/swift-syntax) updates don't break macros_ 💁♂️ | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| > | ||
| > ```swift | ||
| > .package(path: "<path-to-local-swift-syntax>") | ||
| > ``` | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: pervents (meant to be prevents I believe)