2020-08-05 00:54:26 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
podman=`which podman || true`
|
|
|
|
|
|
|
|
if [ -z $podman ]; then
|
|
|
|
echo "podman needs to be in PATH for this script to work."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
project_root=$(pwd)/
|
|
|
|
img_version=bs
|
|
|
|
|
2020-08-09 00:00:15 +02:00
|
|
|
mkdir -p logs
|
2020-08-05 00:54:26 +02:00
|
|
|
|
2021-04-23 21:05:29 +02:00
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-windows:${img_version} scons bew_strip -j4 . 2>&1 | tee logs/bew.log
|
|
|
|
#$podman run -v ${project_root}:/root/project -w /root/project godot-windows:${img_version} scons bewd_strip -j4 . 2>&1 | tee logs/bewd.log
|
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-windows:${img_version} scons bw_strip -j4 . 2>&1 | tee logs/bw.log
|
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-windows:${img_version} scons bwr_strip -j4 . 2>&1 | tee logs/bwr.log
|
2020-08-05 00:54:26 +02:00
|
|
|
|
2021-04-23 21:05:29 +02:00
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-linux:${img_version} scons bel_strip -j4 . 2>&1 | tee logs/bel.log
|
|
|
|
#$podman run -v ${project_root}:/root/project -w /root/project godot-linux:${img_version} scons beld_strip -j4 . 2>&1 | tee logs/beld.log
|
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-linux:${img_version} scons bl_strip -j4 . 2>&1 | tee logs/bl.log
|
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-linux:${img_version} scons blr_strip -j4 . 2>&1 | tee logs/blr.log
|
2020-08-08 23:26:40 +02:00
|
|
|
|
2020-08-05 00:54:26 +02:00
|
|
|
|
2021-04-23 21:05:29 +02:00
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-javascript:${img_version} scons bj_strip -j4 . 2>&1 | tee logs/bj.log
|
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-javascript:${img_version} scons bjr_strip -j4 . 2>&1 | tee logs/bjr.log
|
2020-08-05 00:54:26 +02:00
|
|
|
|
2021-04-23 21:05:29 +02:00
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-android:${img_version} scons ba_strip -j4 . 2>&1 | tee logs/ba.log
|
|
|
|
$podman run -v ${project_root}:/root/project -w /root/project godot-android:${img_version} scons bar_strip -j4 . 2>&1 | tee logs/bar.log
|
2020-08-05 00:54:26 +02:00
|
|
|
|
|
|
|
# $podman run -v ${project_root}:/root/project -i -w /root/project -t godot-windows:${img_version} scons bew -j4
|
|
|
|
|