Add Crystal

This commit is contained in:
Vrganj 2021-01-04 20:52:46 +01:00
parent b0c462d5ee
commit 10d85553db
7 changed files with 26 additions and 0 deletions

3
lxc/executors/crystal Normal file
View file

@ -0,0 +1,3 @@
cd /tmp/$2
timeout -s KILL 10 crystal build code.code
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./code"