pkg(pyth-1.0.0): Add pyth 1.0.0 (#222)
This commit is contained in:
parent
7191bc063c
commit
353de20ae9
|
@ -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
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Python and Pyth path
|
||||||
|
export PATH=$PWD/bin:$PATH
|
||||||
|
export PYTH_PATH=$PWD/pyth
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "pyth",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"aliases": ["pyth"]
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# pyth only takes filename and stdin
|
||||||
|
python3 "$PYTH_PATH"/pyth.py "$1"
|
|
@ -0,0 +1 @@
|
||||||
|
"OK
|
Loading…
Reference in New Issue