ForgePatch/forge/build.sh

23 lines
479 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_common/net/* src_forge/minecraft/net/
cp -a forge/forge_common/net/* src_forge/minecraft_server/net/
cd forge
./inject_version.sh ../src_forge/minecraft/net/minecraft/src/forge/ForgeHooks.java
./inject_version.sh ../src_forge/minecraft_server/net/minecraft/src/forge/ForgeHooks.java
cd ..
2011-08-05 00:32:56 +00:00
cp -a src_forge src
./recompile.sh