piston/lxc/executors/scala

8 lines
200 B
Plaintext
Raw Normal View History

2021-02-05 05:03:17 +01:00
#!/bin/bash
2021-02-05 05:52:13 +01:00
# Scala will complain if JAVA_HOME isn't set
export JAVA_HOME=/opt/java/jdk-14
2021-02-05 05:03:17 +01:00
cp code.code interim.scala
timeout -s KILL 10 xargs -a args.args -d '\n' scala interim.scala < stdin.stdin