wesnoth/utils/dockerbuilds/make_steam_build
2020-10-15 15:44:12 -05:00

11 lines
348 B
Bash
Executable File

#!/bin/sh -xe
cd steamrt
docker build -t steamos-wesnoth .
rm -rf ../steambuild
mkdir ../steambuild
if [ -d "$PWD"/../../../build ]; then
echo "Existing scons 'build' directory found, this may cause the build to fail!"
fi
docker run -it -v "$PWD"/../../..:/wesnoth -v "$PWD"/../steambuild:/output --tmpfs /build:exec -u "$UID" steamos-wesnoth