Compare commits

...

2 Commits

Author SHA1 Message Date
poikilos 93e1830573 Change the directory name for clarity. 1 year ago
poikilos 9a9221beb5 Use getcwd. 1 year ago
  1. 2
      pyenliven/compatiblizemod.py
  2. 4
      utilities/install-lmk
  3. 12
      utilities/pull-lmk

2
pyenliven/compatiblizemod.py

@ -126,7 +126,7 @@ def add_depends(mod_path):
def main(): def main():
parent = os.path.realpath(".") parent = os.getcwd()
return add_depends(parent) return add_depends(parent)

4
utilities/install-lmk

@ -11,7 +11,7 @@ trolltest (or troll) to install ~/trolltest-rsync (based on MT5).
Options: Options:
--from <built dir> Install from this directory. Defaults to --from <built dir> Install from this directory. Defaults to
"$HOME/linux-minetest-kit-rsync/mtkit/minetest". "$HOME/minebest-rsync/mtkit/minetest".
--server Require a binary ending with "server" to be --server Require a binary ending with "server" to be
present in built dir. Defaults to False. present in built dir. Defaults to False.
--client Require a binary ending with "server" to be --client Require a binary ending with "server" to be
@ -43,7 +43,7 @@ if sys.version_info.major < 3:
ModuleNotFoundError = ImportError ModuleNotFoundError = ImportError
INSTALL_SRC = os.path.join(HOME, "linux-minetest-kit-rsync", "mtkit", "minetest") INSTALL_SRC = os.path.join(HOME, "minebest-rsync", "mtkit", "minetest")
VARIANT = "rsync" VARIANT = "rsync"
MINETEST_KEYWORDS = ("sandbox;world;mining;crafting;blocks;nodes;multiplayer;" MINETEST_KEYWORDS = ("sandbox;world;mining;crafting;blocks;nodes;multiplayer;"

12
utilities/pull-lmk

@ -1,21 +1,21 @@
#!/bin/bash #!/bin/bash
rsync -rtv mtio:/opt/minebest/ ~/linux-minetest-kit-rsync --exclude "mtkit/minetest/" --exclude "assemble/" --exclude "mtkit0/" rsync -rtv mtio:/opt/minebest/ ~/minebest-rsync --exclude "mtkit/minetest/" --exclude "assemble/" --exclude "mtkit0/"
# ^ exclude mtkit/minetest/ and assemble/ since they are remotely-built copies of the program. # ^ exclude mtkit/minetest/ and assemble/ since they are remotely-built copies of the program.
# --info=progress2 # --info=progress2
code=$? code=$?
if [ $code -eq 0 ]; then if [ $code -eq 0 ]; then
echo "Updating ~/linux-minetest-kit-rsync...OK" echo "Updating ~/minebest-rsync...OK"
else else
echo "Updating ~/linux-minetest-kit-rsync...FAILED" echo "Updating ~/minebest-rsync...FAILED"
fi fi
cd ~/linux-minetest-kit-rsync cd ~/minebest-rsync
cat <<END cat <<END
Next do: Next do:
cd ~/linux-minetest-kit-rsync/mtkit cd ~/minebest-rsync/mtkit
bash -e mtcompile-libraries.sh build bash -e mtcompile-libraries.sh build
perl mtcompile-program.pl --build --finetest --client perl mtcompile-program.pl --build --finetest --client
cd ~/linux-minetest-kit-rsync/mtkit/minetest/bin cd ~/minebest-rsync/mtkit/minetest/bin
nopackage install finetest --version rsync --caption "Finetest (rsync)" nopackage install finetest --version rsync --caption "Finetest (rsync)"
END END

Loading…
Cancel
Save