25 lines
627 B
Bash
25 lines
627 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
LIB="$(realpath $(dirname $0))" # Absolute path
|
||
|
PROJ="$(dirname $LIB)" # Subgame dir (..)
|
||
|
SRC="$(dirname $PROJ)"/mods_src/ # mods sources (../..)
|
||
|
DST="$PROJ"/mods/ # Subgame mods
|
||
|
LOG="$PROJ"/mod_sources.txt
|
||
|
|
||
|
source "$LIB"/build-whynot.lib
|
||
|
cd "$SRC" # for proper resolving the '*'
|
||
|
|
||
|
## Sync minetest_game
|
||
|
mod_install minetest_game --exclude=farming minetest_game/mods/*
|
||
|
|
||
|
# Install all other mods
|
||
|
mod_install blocks_functions
|
||
|
mod_install building_blocks
|
||
|
mod_install buildings
|
||
|
mod_install environment
|
||
|
mod_install flora
|
||
|
mod_install gui
|
||
|
mod_install lib_api
|
||
|
mod_install mobs
|
||
|
mod_install player
|