Here are mine:
I use an alias to update the dev version of minetest:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
alias minetest-dev-update='cd ~/.minetest-dev && pwd && time rgit && time cmake . -DRUN_IN_PLACE=1 -DENABLE_GETTEXT=1 && time make -j2 && echo Done'
As so see the alias runs rgit which is another alias to keep all my git repos up-to-date:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
alias rgit='find . -type d -name .git -exec sh -c "cd "{}"/../ && pwd && git pull" \;'
It will update all git repos it can find in a directory and all it sub dirs.
I don't run these commands via cron for several reasons, but most important one: needs internet connection and / or cpu time, both is not always available and i don't want to have it in the background.
And i linked the mod folder of my stable MT install, because i don't want to manage two sets of mods.
What are your tricks to automate / simplify your MT experience?