It would be ideal if swiftly automatically installed the project toolchain if it's not currently installed.
Steps to reproduce
- Create a swift package
- List all installed versions
- In the created package, specify a version in
.swift-version file that is not currently installed
swift build or swift --version, or swift test etc...
❯ swift --version
The swift version file `/Users/bkhouri/Documents/git/public/swiftlang/swift-package-manager/.swift-version` uses toolchain version main-snapshot-2025-02-24, but it doesn't match any of the installed toolchains. You can install the toolchain with `swiftly install`
Instead of that message, running swift should automatically install the version of the toolchain, thus streamlining the build process.
It would be ideal if
swiftlyautomatically installed the project toolchain if it's not currently installed.Steps to reproduce
.swift-versionfile that is not currently installedswift buildorswift --version, orswift testetc...Instead of that message, running
swiftshould automatically install the version of the toolchain, thus streamlining the build process.