Compare commits
4 Commits
7191bc063c
...
e975b64f2d
Author | SHA1 | Date |
---|---|---|
Dan Vargas | e975b64f2d | |
Dan Vargas | 8424307029 | |
Dan Vargas | 2a85951426 | |
Dan Vargas | 353de20ae9 |
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# CJam depends on Java
|
||||||
|
source ../../java/15.0.2/build.sh
|
||||||
|
|
||||||
|
curl -L "https://downloads.sourceforge.net/project/cjam/cjam-0.6.5/cjam-0.6.5.jar?ts=gAAAAABgf6xp4bmSJmNMjz8z23zWVbRgW6mhaFrnxdBe_riqC4rZnhUpXJrQzPpSqhniaoGptfkI_r-tjjBc5326oRmloXIJYQ%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fcjam%2Ffiles%2Fcjam-0.6.5%2Fcjam-0.6.5.jar%2Fdownload" -o bin/cjam.jar
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# CJam and Java Path
|
||||||
|
export PATH=$PWD/bin:$PATH
|
||||||
|
export CJAM_PATH=$PWD/bin
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "cjam",
|
||||||
|
"version": "0.6.5",
|
||||||
|
"aliases": []
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# run cjam jar
|
||||||
|
java -jar "$CJAM_PATH"/cjam.jar "$@"
|
|
@ -0,0 +1 @@
|
||||||
|
"OK"
|
|
@ -0,0 +1,25 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Dragon install
|
||||||
|
mkdir -p build
|
||||||
|
|
||||||
|
cd build
|
||||||
|
|
||||||
|
curl "https://dragon-lang.org/Dragon_1.9.8_linux(x86_x64).tar.bz2" -o dragon.tar.bz2
|
||||||
|
tar xjf dragon.tar.bz2 --strip-components=1
|
||||||
|
|
||||||
|
### re-purposed the install script for local install and without manpages
|
||||||
|
|
||||||
|
mkdir -p ../bin
|
||||||
|
cp dragon ../bin/
|
||||||
|
chmod +x ../bin/dragon
|
||||||
|
|
||||||
|
cp -r runtime ../bin/
|
||||||
|
chmod +x ../bin/runtime/bin/java
|
||||||
|
|
||||||
|
sed -i 's|/bin/runtime/bin/java|$JAVA_RUNTIME|g' ../bin/dragon
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
cd ../
|
||||||
|
rm -rf build
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# dragon binary & java runtime path
|
||||||
|
export PATH=$PWD/bin:$PATH
|
||||||
|
export JAVA_RUNTIME=$PWD/bin/runtime/bin/java
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "dragon",
|
||||||
|
"version": "1.9.8",
|
||||||
|
"aliases": []
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# dragon run
|
||||||
|
dragon -r "$@"
|
|
@ -0,0 +1 @@
|
||||||
|
showln "OK"
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# golfscript was implemented as a Ruby script originally
|
||||||
|
source ../../ruby/2.5.1/build.sh
|
||||||
|
|
||||||
|
curl "http://www.golfscript.com/golfscript/golfscript.rb" -o bin/golfscript.rb
|
||||||
|
|
||||||
|
# using the shebang to run it with the right Ruby
|
||||||
|
sed -i "s|/usr/bin/|$PWD/bin/|g" bin/golfscript.rb
|
||||||
|
chmod +x bin/golfscript.rb
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Path to Ruby and golfscript.rb
|
||||||
|
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "golfscript",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"aliases": ["golfscript"]
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# golfscript only takes code file and stdin
|
||||||
|
golfscript.rb "$1"
|
|
@ -0,0 +1 @@
|
||||||
|
"OK"
|
|
@ -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