added sources packaging
This commit is contained in:
parent
0490d22992
commit
e6dff0bfc6
1 changed files with 16 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
version=$1
|
version=$1
|
||||||
|
build_dir=`pwd`
|
||||||
dir=`pwd`/../forge-$version
|
dir=`pwd`/../forge-$version
|
||||||
|
|
||||||
function remove_svn () {
|
function remove_svn () {
|
||||||
|
@ -42,3 +43,18 @@ package_all "-server"
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
rm -rf reobf
|
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
|
||||||
|
|
Loading…
Reference in a new issue