emscripten_docker/povray_wasm/pw

19 lines
399 B
Bash
Executable File

#!/bin/bash
help () {
echo "Usage: ./pw [command]"
echo " "
echo "Commands:"
echo " build - Build the docker image with optional -f/--force"
echo " compile - Run the compilation process"
}
if [[ "${1}" == "build" ]]; then
bash ./scripts/build.sh "${2}"
elif [[ "${1}" == "cmd" ]]; then
bash ./scripts/cmd.sh ${@}
elif [[ "${1}" == "compile" ]]; then
bash ./scripts/compile.sh
else
help
fi