From 3128675eb8b61b9da9203029fe9445cd72d66cab Mon Sep 17 00:00:00 2001 From: Sam Khouri Date: Wed, 14 May 2025 22:06:09 -0400 Subject: [PATCH] Add swift version file to record the Swift toolchain to use When working with SwiftBuild, there is a particular version that development is expected to use so that all of the compilers, standard libraries, test frameworks, etc. are expected to be working. The `.swift-version` file establishes a standard way to record this information. Also, there is tooling available through `swiftly` to use that information to automatically use the correct toolchain in any git commit to set the developer's toolchain when they run and test the package functions at desk. Create the `.swift-version` file and set it to the current expected toolchain version: 6.1. --- .swift-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .swift-version diff --git a/.swift-version b/.swift-version new file mode 100644 index 00000000..dfda3e0b --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +6.1.0