Skip to content

Instantly share code, notes, and snippets.

@Shoeboxam
Created May 9, 2014 23:26
Show Gist options
  • Save Shoeboxam/fa58f9d94bb1590532e7 to your computer and use it in GitHub Desktop.
Save Shoeboxam/fa58f9d94bb1590532e7 to your computer and use it in GitHub Desktop.
mini_compile.sh
#Temporary script to generate a universal pack from the mod repository
#We are working on a cleaner implementation at this time (same as what we have done on Soartex)
#Place in mod repository root and run in linux (sh mini_compile.sh)
#Created by Artdude and Shoeboxam
resource_pack=${PWD##*/}
for i in */; do
cd "$i"
zip -q -u -r -g ../$resource_pack.zip "."
cd ../
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment