mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
pkg(pyth-1.0.0): Add pyth 1.0.0 (#222)
This commit is contained in:
parent
7191bc063c
commit
353de20ae9
5 changed files with 21 additions and 0 deletions
6
packages/pyth/1.0.0/build.sh
vendored
Executable file
6
packages/pyth/1.0.0/build.sh
vendored
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Pyth install
|
||||
source ../../python/3.9.1/build.sh
|
||||
|
||||
git clone -q "https://github.com/isaacg1/pyth.git" pyth
|
5
packages/pyth/1.0.0/environment
vendored
Normal file
5
packages/pyth/1.0.0/environment
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Python and Pyth path
|
||||
export PATH=$PWD/bin:$PATH
|
||||
export PYTH_PATH=$PWD/pyth
|
5
packages/pyth/1.0.0/metadata.json
vendored
Normal file
5
packages/pyth/1.0.0/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "pyth",
|
||||
"version": "1.0.0",
|
||||
"aliases": ["pyth"]
|
||||
}
|
4
packages/pyth/1.0.0/run
vendored
Normal file
4
packages/pyth/1.0.0/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# pyth only takes filename and stdin
|
||||
python3 "$PYTH_PATH"/pyth.py "$1"
|
1
packages/pyth/1.0.0/test.pyth
vendored
Normal file
1
packages/pyth/1.0.0/test.pyth
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
"OK
|
Loading…
Add table
Add a link
Reference in a new issue