ForgePatch/forge/build.sh

24 lines
582 B
Bash
Raw Normal View History

#!/bin/bash
cd ..
rm -rf src bin src_forge
2011-08-05 00:32:56 +00:00
cp -a src_work src_forge
2011-08-05 00:32:56 +00:00
cp -a forge/forge_client/src/net/* src_forge/minecraft/net/
cp -a forge/forge_server/src/net/* src_forge/minecraft_server/net/
2011-08-05 00:32:56 +00:00
cp -a forge/forge_common/net/* src_forge/minecraft/net/
cp -a forge/forge_common/net/* src_forge/minecraft_server/net/
2012-02-21 08:53:33 +00:00
pushd forge > /dev/null
./inject_version.sh $OLDPWD/src_forge/minecraft/net/minecraft/src/forge/ForgeHooks.java
./inject_version.sh $OLDPWD/src_forge/minecraft_server/net/minecraft/src/forge/ForgeHooks.java
popd > /dev/null
2011-08-05 00:32:56 +00:00
cp -a src_forge src
./recompile.sh