added sources packaging

This commit is contained in:
Space Toad 2011-07-30 16:13:14 +00:00
parent 0490d22992
commit e6dff0bfc6

View file

@ -1,4 +1,5 @@
version=$1
build_dir=`pwd`
dir=`pwd`/../forge-$version
function remove_svn () {
@ -42,3 +43,18 @@ package_all "-server"
cd ../..
rm -rf reobf
cd $build_dir
echo `pwd`
mkdir src
mkdir src/minecraft
mkdir src/minecraft_server
cp -r forge_client/src/* src/minecraft
cp -r forge_server/src/* src/minecraft_server
cp -r forge_common/* src/minecraft
cp -r forge_common/* src/minecraft_server
cp minecraft.patch src
zip -r $dir/minecraftforge-src-$version.zip src
rm -rf src