mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
Merge pull request #174 from dvargas46/v3-add-swift
pkg(swift-5.3.3): Add swift 5.3.3
This commit is contained in:
commit
c99c3ea6ec
5 changed files with 21 additions and 0 deletions
6
packages/swift/5.3.3/build.sh
vendored
Executable file
6
packages/swift/5.3.3/build.sh
vendored
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Binary install
|
||||||
|
curl -L "https://swift.org/builds/swift-5.3.3-release/ubuntu1804/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu18.04.tar.gz" -o swift.tar.gz
|
||||||
|
tar xzf swift.tar.gz --strip-components=2
|
||||||
|
rm swift.tar.gz
|
4
packages/swift/5.3.3/environment
vendored
Normal file
4
packages/swift/5.3.3/environment
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put 'export' statements here for environment variables
|
||||||
|
export PATH=$PWD/bin:$PATH
|
6
packages/swift/5.3.3/metadata.json
vendored
Normal file
6
packages/swift/5.3.3/metadata.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"language": "swift",
|
||||||
|
"version": "5.3.3",
|
||||||
|
"aliases": ["swift"],
|
||||||
|
"author": "Dan Vargas <danvargas46@gmail.com>"
|
||||||
|
}
|
4
packages/swift/5.3.3/run
vendored
Normal file
4
packages/swift/5.3.3/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Setting clang cache to current dir to avoid permission error on /tmp
|
||||||
|
swift -module-cache-path . "$@"
|
1
packages/swift/5.3.3/test.swift
vendored
Normal file
1
packages/swift/5.3.3/test.swift
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
print("OK")
|
Loading…
Add table
Add a link
Reference in a new issue