piston/lxc/executors/crystal

6 lines
133 B
Bash

#!/bin/bash
cd /tmp/$2
timeout -s KILL 10 crystal build code.code
timeout -s KILL 3 xargs -a args.args -d '\n' ./code < stdin.stdin