Only build the msvc container if it's explicitly stated via an argument, juts like in the godot build containers repo.

This commit is contained in:
Relintai 2022-01-29 00:32:57 +01:00
parent 7004ce14a4
commit 5765491335

View File

@ -38,6 +38,7 @@ fi
$podman_build -t godot-osx:${img_version} -v ${files_root}:/root/files -f Dockerfile.osx . 2>&1 | tee logs/osx.log
$podman_build -t godot-ios:${img_version} -v ${files_root}:/root/files -f Dockerfile.ios . 2>&1 | tee logs/ios.log
if [ "${build_msvc}" != "0" ]; then
if [ ! -e files/msvc2017.tar ]; then
echo
echo "files/msvc2017.tar is missing. This file can be created on a Windows 7 or 10 machine by downloading the 'Visual Studio Tools' installer."
@ -51,3 +52,4 @@ if [ ! -e files/msvc2017.tar ]; then
fi
$podman_build -t godot-msvc:${img_version} -f Dockerfile.msvc -v ${files_root}:/root/files . 2>&1 | tee logs/msvc.log
fi