25 lines
716 B
Bash
Executable File
25 lines
716 B
Bash
Executable File
#!/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 --exclude=bucket --exclude=doors minetest_game/mods/*
|
|
|
|
# Install all other mods
|
|
mod_install blocks_functions
|
|
mod_install buildings
|
|
mod_install environment
|
|
mod_install flora
|
|
mod_install gui
|
|
mod_install lib_api
|
|
mod_install mobs
|
|
mod_install player --exclude=3d_armor/3d_armor_ip/ --exclude=3d_armor/3d_armor_ui/
|
|
mod_install special
|