Created
August 22, 2013 21:28
-
-
Save furlmc/6313024 to your computer and use it in GitHub Desktop.
lol what is going on
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e | |
shopt -s nullglob | |
# Copy in source from git | |
cp -r -t src/minecraft ../../furlmod/furl | |
# Put dev jars in lib | |
for LIB in lib-noreobf/*; do | |
cp -t lib "$LIB" | |
done | |
./recompile.sh | |
# Dev jars need to be their obfuscated counterparts for reobf | |
for LIB in lib-noreobf/*; do | |
TARGET=`echo $LIB | sed 's/-noreobf//'`; | |
rm "$TARGET" | |
done | |
for LIB in lib-reobf/*; do | |
cp -t lib "$LIB" | |
done | |
./reobfuscate.sh | |
# Cleanup | |
for LIB in lib-reobf/*; do | |
TARGET=`echo $LIB | sed 's/-reobf//'`; | |
rm "$TARGET" | |
done | |
# Golang jar build script | |
./jarbuilder | |
cp -t /c/multimc/instances/nodrm-v4/minecraft/mods dist/FurlMod.zip | |
echo Build completed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment