compiler-discord/docker/java/run.sh

7 lines
114 B
Bash
Raw Normal View History

mkdir "$CODEDIR" && cd "$CODEDIR"
2019-03-15 05:06:59 +01:00
echo "$1" > Main.java
javac Main.java && java Main
cd .. && rm -rf "$CODEDIR"