-
Notifications
You must be signed in to change notification settings - Fork 10
Swift 5.10 #25
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
Swift 5.10 #25
Changes from all commits
8f11f58
1ffc665
4accd06
c039684
9d0e692
46f3ab4
3dbb137
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 |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ jobs: | |
| name: Test on Linux | ||
| runs-on: ubuntu-22.04 | ||
| container: | ||
| image: swift:5.9 | ||
| image: swift:5.10 | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Show Environments | ||
|
|
@@ -26,11 +26,11 @@ jobs: | |
| run: make test | ||
| macOS: | ||
| name: Test on macOS | ||
| runs-on: macos-13 | ||
| runs-on: macos-14 | ||
|
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. [note] Required to get Xcode 15.4 support |
||
| strategy: | ||
| matrix: | ||
| xcode_version: | ||
| - "15.0.1" | ||
| - "15.4" | ||
| env: | ||
| DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app | ||
| steps: | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ A tool for Swift code modification intermediating between code generation and fo | |
|
|
||
| `swift-mod` is a tool for Swift code modification that intermediating between code generator and formatter built on top of [apple/SwiftSyntax](https://github.com/apple/swift-syntax). | ||
| It can generates boilerplate code, such as access control or memberwise initializers in modularized source code, taking into account the state of the [AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree). | ||
| You can improve your productivity for writing more advanced Swift codes with introducing `swift-mod`. | ||
| You can improve your productivity for writing more advanced Swift codes by introducing `swift-mod`. | ||
|
|
||
| ### Example | ||
|
|
||
|
|
@@ -301,10 +301,10 @@ You can also install swift-mod by downloading `swift-mod.zip` from the latest Gi | |
|
|
||
| ### Swift Version Support | ||
|
|
||
| `swift-mod` depends on [SwiftSyntax](https://github.com/apple/swift-syntax) that the version in use must match the toolchain version until Swift 5.7. | ||
|
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. [note] Very difficult sentence that I couldnt understand, simplified 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.
|
||
| So you should use swift-mod version that built with compatible version of Swift you are using. | ||
| `swift-mod` depends on [SwiftSyntax](https://github.com/apple/swift-syntax) version that matches the toolchain version in use. | ||
| So you should use swift-mod version that built with compatible version of Swift you are using. | ||
|
|
||
| |Swift Version|Last Supported swift-mod Release| | ||
| |Swift Version|Last Supported `swift-mod` | | ||
| |:------------|:-------------------------------| | ||
| |5.1 |0.0.2 | | ||
| |5.2 |0.0.4 | | ||
|
|
@@ -313,7 +313,9 @@ So you should use swift-mod version that built with compatible version of Swift | |
| |5.5 |0.0.7 | | ||
| |5.6 |0.1.0 | | ||
| |5.7 |0.1.1 | | ||
| |5.8 and later|latest | | ||
| |5.8 |0.2.0 | | ||
| |5.9 |0.2.0 | | ||
| |5.10 |0.2.1 | | ||
|
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. [note] To be: 0.2.1 |
||
|
|
||
| --- | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| // swift-tools-version:5.9 | ||
| // swift-tools-version:5.10 | ||
|
|
||
| import PackageDescription | ||
|
|
||
| let package = Package( | ||
| name: "Tools", | ||
| dependencies: [ | ||
| .package(url: "https://github.com/apple/swift-format.git", .upToNextMinor(from: "509.0.0")), | ||
| .package(url: "https://github.com/swiftlang/swift-format.git", exact: "510.1.0"), | ||
| ] | ||
| ) |
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.
[note] Required to bump to get Swift 5.10