Fix typo in Swift configuration
This commit is contained in:
parent
fed2b4571d
commit
98612d6bcc
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue