compiler-discord/docker/lua/run.sh
2019-06-01 01:04:15 -04:00

6 lines
111 B
Bash

mkdir "$CODEDIR" && cd "$CODEDIR"
printf %s "$1" > program.lua
lua5.3 program.lua
cd .. && rm -rf "$CODEDIR"