clone 3d_armor mod for integration test

This commit is contained in:
BuckarooBanzay 2020-11-05 13:35:29 +01:00
parent 2eb77818c1
commit 688c822137

View File

@ -4,11 +4,15 @@
CFG=/tmp/minetest.conf CFG=/tmp/minetest.conf
MTDIR=/tmp/mt MTDIR=/tmp/mt
WORLDDIR=${MTDIR}/worlds/world WORLDDIR=${MTDIR}/worlds/world
WORLDMODDIR=${WORLDDIR}/worldmods
cat <<EOF > ${CFG} cat <<EOF > ${CFG}
technic_armor.enable_technic_armor_integration_test = true technic_armor.enable_technic_armor_integration_test = true
EOF EOF
# clone dependencies
git clone --depth 1 https://github.com/minetest-mods/3d_armor.git ${WORLDMODDIR}/3d_armor
mkdir -p ${WORLDDIR} mkdir -p ${WORLDDIR}
chmod 777 ${MTDIR} -R chmod 777 ${MTDIR} -R
docker run --rm -i \ docker run --rm -i \