Fix typo in Swift configuration

This commit is contained in:
Radon Rosborough 2021-01-24 14:22:25 -08:00
parent fed2b4571d
commit 98612d6bcc
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ install:
ver="$(latest_release apple/swift | grep -Eo '[0-9.]+')"
wget "https://swift.org/builds/swift-${ver}-release/ubuntu2004/swift-${ver}-RELEASE/swift-${ver}-RELEASE-ubuntu20.04.tar.gz" -O swift.tar.gz
tar -xf swift.tar.gz -C "${pkg}/opt/swift" --strip-components=2
ln -s /opt/swift/bin/swiftc /opt/swift/bin/sourcekit-lsp "${pkg}/usr/local/bin/swiftc"
ln -s /opt/swift/bin/swiftc /opt/swift/bin/sourcekit-lsp "${pkg}/usr/local/bin/"
main: "main.swift"
template: |