From 1a97f338b4826bf360d3607798f8b085a6e2f389 Mon Sep 17 00:00:00 2001 From: Chris McGee Date: Thu, 6 Feb 2025 10:48:48 -0500 Subject: [PATCH 1/2] Getting started guide cleanup --- Documentation/SwiftlyDocs.docc/getting-started.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/SwiftlyDocs.docc/getting-started.md b/Documentation/SwiftlyDocs.docc/getting-started.md index da4a073e..e94ac637 100644 --- a/Documentation/SwiftlyDocs.docc/getting-started.md +++ b/Documentation/SwiftlyDocs.docc/getting-started.md @@ -39,23 +39,23 @@ Swiftly will install itself and download the latest available Swift toolchain. F ``` $ swift --version -Swift version 6.0.1 (swift-6.0.1-RELEASE) -Target: x86_64-unknown-linux-gnu +Swift version 6.0.3 (swift-6.0.3-RELEASE) +... -$ swift build # Build with the latest (5.8.1) toolchain +$ swift build # Build with the latest (6.0.3) toolchain ``` You can install (and use) another release toolchain: ``` -$ swiftly install --use 5.7 +$ swiftly install --use 5.10 $ swift --version -Swift version 5.7.2 (swift-5.7.2-RELEASE) +Swift version 5.10.1 (swift-5.10.1-RELEASE) Target: x86_64-unknown-linux-gnu -$ swift build # Build with the 5.7.2 toolchain +$ swift build # Build with the 5.10.1 toolchain ``` Quickly test your package with the latest nightly snapshot to prepare for the next release: @@ -74,7 +74,7 @@ $ swiftly uninstall main-snapshot # Proxy -Swiftly downloads a list of toolchains from https://www.swift.org/ and retrieves them from Apple/Akamai CDN via https://download.swift.org. +Swiftly downloads a list of toolchains from https://www.swift.org/ and retrieves them from CDN via https://download.swift.org. If your environment requires a proxy, Swiftly will attempt to use the standard environment variables `http_proxy`, `HTTP_PROXY`, `https_proxy` or `HTTPS_PROXY` to determine which proxy server to use instead of making a direct connection. To download latest nightly snapshot using a proxy: From ddb18078167eed71015aad458ab6a9b93e7c1cfa Mon Sep 17 00:00:00 2001 From: Chris McGee Date: Thu, 6 Feb 2025 10:51:07 -0500 Subject: [PATCH 2/2] Remove linux target from the version in the platform independent example --- Documentation/SwiftlyDocs.docc/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/SwiftlyDocs.docc/getting-started.md b/Documentation/SwiftlyDocs.docc/getting-started.md index e94ac637..9b0135b5 100644 --- a/Documentation/SwiftlyDocs.docc/getting-started.md +++ b/Documentation/SwiftlyDocs.docc/getting-started.md @@ -53,7 +53,7 @@ $ swiftly install --use 5.10 $ swift --version Swift version 5.10.1 (swift-5.10.1-RELEASE) -Target: x86_64-unknown-linux-gnu +... $ swift build # Build with the 5.10.1 toolchain ```