]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - util/buildbot/buildwin32.sh
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / util / buildbot / buildwin32.sh
index 89d97c54e160b16aa8485c88c1624910649ec125..1e0428102b05a567ad4dbfd3dac8fbc3757d9dea 100755 (executable)
@@ -1,12 +1,14 @@
 #!/bin/bash
 set -e
 
-CORE_GIT=https://github.com/minetest/minetest
+GIT_ORG=https://github.com/dragonfireclient
+CORE_GIT=$GIT_ORG/dragonfireclient
 CORE_BRANCH=master
-CORE_NAME=minetest
-GAME_GIT=https://github.com/minetest/minetest_game
+CORE_NAME=dragonfireclient
+GAME_GIT=https://git.minetest.land/MineClone2/MineClone2
 GAME_BRANCH=master
-GAME_NAME=minetest_game
+GAME_NAME=MineClone2
+CLIENT_MODS="autotool diglib digcustom nametags autokey autoeat invutil killaura worldutil physics_override noweather chateffects simpletp"
 
 dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 if [ $# -ne 1 ]; then
@@ -109,6 +111,17 @@ else
                [ -d games/$GAME_NAME ] && { pushd games/$GAME_NAME; git pull; popd; } || \
                        git clone -b $GAME_BRANCH $GAME_GIT games/$GAME_NAME
        fi
+       rm -f clientmods/mods.conf
+       for mod in $CLIENT_MODS; do
+               cd $sourcedir
+               [ -d clientmods/$mod ] && { pushd clientmods/$mod; git pull; popd; } || \
+                       git clone $GIT_ORG/$mod clientmods/$mod
+               echo "load_mod_$mod = true" >> clientmods/mods.conf
+       done
+       cd $sourcedir
+       [ -d clientmods/lua_async ] && { pushd clientmods/lua_async; git pull; popd; } || \
+               git clone --recursive https://github.com/EliasFleckenstein03/lua_async_mt clientmods/lua_async
+       echo "load_mod_lua_async = true" >> clientmods/mods.conf
 fi
 
 git_hash=$(cd $sourcedir && git rev-parse --short HEAD)