This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
MinecraftLandGenerator/update_github.sh
Morlok8k 09a7a81b3a decided to add the source of JNBT inside the MLG jarfile. (as a .zip)
This is to be completely faithful to his license.  (it was kinda a grey area before)
2012-06-05 03:55:38 -07:00

26 lines
453 B
Bash
Executable File

#!/bin/sh
## Minecraft Land Generator - GitHub Update Script
## Morlok8k - Updated 6/5/2012
zip -r ./bin/MinecraftLandGenerator.jar ./src/ ./scripts/ ./lib/jnbt-1.1-src.zip
cd ./bin/
chmod a+x ./MinecraftLandGenerator.jar
java -jar ./MinecraftLandGenerator.jar -nowait -conf
cd ..
java -jar ./bin/MinecraftLandGenerator.jar -nowait -readme README
rm ./MLG-BuildID
git add .
git commit -a
git push origin master
echo Pausing for 20sec
sleep 20