Commit 87e77b8
authored
Bump swift-syntax in template to 602.0.0-latest (#8921)
`swift package init --type macro `generates a manifest that still points
to swift-syntax version 6.0.0 although main has moved on to 6.0.2.
Motivation:
`swift package init --type macro` is outdated
Modifications:
Modified config.json that is shipped as part of the SDK and version
provided by InstalledSwiftPMConfiguration
Result:
Locally verified that swift package init --type macro generates a
manifest with the updated version.
Performed a `swift build` using the updated manifest and confirmed
version 6.2 of swift-syntax was used:
> MacBook-Pro-207:package-testing rconnell$ swift build
> Fetching https://github.com/swiftlang/swift-syntax.git from cache
> Fetched https://github.com/swiftlang/swift-syntax.git from cache
(0.65s)
> Computing version for https://github.com/swiftlang/swift-syntax.git
...
> Computed https://github.com/swiftlang/swift-syntax.git at
602.0.0-prerelease-2025-06-26 (13.67s)
swift package init --type macro will output the latest version1 parent 5e566d4 commit 87e77b8
File tree
3 files changed
+3
-3
lines changed- Sources/PackageModel
- Tests/PackageModelSyntaxTests
- Utilities
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
0 commit comments