townengine/apps/platformer/build.sh

8 lines
165 B
Bash
Raw Normal View History

2024-07-29 22:20:30 +00:00
#!/bin/env sh
if [ $1 = "web" ]; then
emcmake cmake -B .build-web "${@:2}" && cmake --build .build-web
else
cmake -B .build "$@" && cmake --build .build
fi