OpenSwiftUIProject / OpenSwiftUI

[WIP] Open source implementation of Apple's SwiftUI.
https://swiftpackageindex.com/OpenSwiftUIProject/OpenSwiftUI/main/documentation/openswiftui
MIT License
912 stars 27 forks source link

Update .spi.yml #93

Closed finestructure closed 3 months ago

finestructure commented 3 months ago

Don't force doc gen to run on a Swift version not supported by this package

Kyle-Ye commented 3 months ago

Don't force doc gen to run on a Swift version not supported by this package

Got it. So I assume SPI will pick the right version for the package here.

Image one day I update the Package.swift tool version from 5.10 to 6. Will SPI support it automatically?

Kyle-Ye commented 3 months ago

Don't force doc gen to run on a Swift version not supported by this package

Aha. Thanks for catching the bug.

finestructure commented 3 months ago

We always build docs with the latest release version of Swift unless a specific swift_version is set in the config!

Kyle-Ye commented 3 months ago

We always build docs with the latest release version of Swift unless a specific swift_version is set in the config!

Got it. So when Swift 6 is out, the doc will be built against Swift 6 compiler(with the current language mode - Swift 5) even though the package is still using Package.swift+5.10 and Swift 5 language mode.