mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
Merge pull request #25 from engineer-man/paradoc
added the paradoc golfing language as seen on Advent of Code
This commit is contained in:
commit
6720282bbc
6 changed files with 23 additions and 0 deletions
2
lxc/executors/paradoc
Executable file
2
lxc/executors/paradoc
Executable file
|
@ -0,0 +1,2 @@
|
|||
cd /tmp/$2
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3 -m paradoc code.code"
|
|
@ -51,3 +51,5 @@ echo 'testing python2'
|
|||
../execute python2 test2.py
|
||||
echo 'testing python3'
|
||||
../execute python3 test3.py
|
||||
echo 'testing paradoc'
|
||||
../execute python3 test_paradoc.py
|
||||
|
|
5
lxc/tests/test_paradoc.py
Normal file
5
lxc/tests/test_paradoc.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
try:
|
||||
import paradoc
|
||||
print('good')
|
||||
except:
|
||||
pass
|
|
@ -93,6 +93,10 @@ echo 'python3'
|
|||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "python3 -V"
|
||||
echo '---'
|
||||
|
||||
echo 'paradoc'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "python3 -m paradoc --version"
|
||||
echo '---'
|
||||
|
||||
echo 'ruby'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "ruby --version"
|
||||
echo '---'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue