TRX/docker/entrypoint.sh
2021-11-21 22:29:01 +01:00

10 lines
343 B
Bash
Executable file

#!/bin/sh
if [ ! -f /app/build/build.ninja ]; then
if [ "$TARGET" = debug ]; then
meson --buildtype debug /app/build/ --cross /app/docker/meson_linux_mingw32.txt
elif [ "$TARGET" = release ]; then
meson --buildtype release /app/build/ --cross /app/docker/meson_linux_mingw32.txt
fi
fi
cd /app/build; meson compile