Updated to `Swift 5.8`
This commit is contained in:
parent
86d897d580
commit
18c710479b
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Binary install
|
||||||
|
curl -L "https://swift.org/builds/swift-5.8-release/ubuntu2204/swift-5.8-RELEASE/swift-5.8-RELEASE-ubuntu22.04.tar.gz" -o swift.tar.gz
|
||||||
|
tar xzf swift.tar.gz --strip-components=2
|
||||||
|
rm swift.tar.gz
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put 'export' statements here for environment variables
|
||||||
|
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "swift",
|
||||||
|
"version": "5.8",
|
||||||
|
"aliases": ["swift"]
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Setting clang cache to current dir to avoid permission error on /tmp
|
||||||
|
swift -module-cache-path . "$@"
|
|
@ -0,0 +1 @@
|
||||||
|
print("OK")
|
Loading…
Reference in New Issue