compiler-discord/docker/java/run.sh

7 lines
119 B
Bash
Raw Normal View History

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