2012-03-18 02:49:00 +00:00
|
|
|
@echo off
|
|
|
|
echo =================================== Build Start =================================
|
|
|
|
cd ..
|
2011-07-14 11:18:25 +00:00
|
|
|
|
2012-03-18 02:54:40 +00:00
|
|
|
rmdir /S /Q src
|
|
|
|
mkdir src
|
2012-03-18 02:49:00 +00:00
|
|
|
|
|
|
|
echo src_work -^> src
|
2012-03-18 02:54:40 +00:00
|
|
|
xcopy /Q /Y /E src_work\* src\
|
2012-03-18 02:49:00 +00:00
|
|
|
echo.
|
|
|
|
|
|
|
|
echo forge_client -^> minecraft
|
2011-07-16 22:32:57 +00:00
|
|
|
xcopy /Y /E forge\forge_client\src\net\* src\minecraft\net
|
2012-03-18 02:49:00 +00:00
|
|
|
echo.
|
|
|
|
|
|
|
|
echo forge_server -^> minecraft_server
|
2012-02-10 11:06:08 +00:00
|
|
|
xcopy /Y /E forge\forge_server\src\net\* src\minecraft_server\net
|
2012-03-18 02:49:00 +00:00
|
|
|
echo.
|
|
|
|
|
|
|
|
echo forge_common -^> minecraft
|
2011-07-14 11:19:22 +00:00
|
|
|
xcopy /Y /E forge\forge_common\net\* src\minecraft\net
|
2012-03-18 02:49:00 +00:00
|
|
|
echo.
|
|
|
|
|
|
|
|
echo forge_common -^> minecraft_server
|
2011-07-14 11:19:22 +00:00
|
|
|
xcopy /Y /E forge\forge_common\net\* src\minecraft_server\net
|
2012-03-18 02:49:00 +00:00
|
|
|
echo.
|
2011-07-14 11:19:22 +00:00
|
|
|
|
2012-03-18 02:49:00 +00:00
|
|
|
cd forge
|
|
|
|
cmd /C inject_version.bat ../src/minecraft/net/minecraft/src/forge/ForgeHooks.java
|
|
|
|
cmd /C inject_version.bat ../src/minecraft_server/net/minecraft/src/forge/ForgeHooks.java
|
|
|
|
cd ..
|
2012-01-25 07:00:31 +00:00
|
|
|
|
2012-03-18 02:49:00 +00:00
|
|
|
runtime\bin\python\python_mcp runtime\recompile.py
|
2012-02-13 12:01:54 +00:00
|
|
|
|
2012-03-18 02:49:00 +00:00
|
|
|
set ret=%ERRORLEVEL%
|
2012-02-13 12:01:54 +00:00
|
|
|
cd forge
|
2012-03-18 02:49:00 +00:00
|
|
|
echo =================================== Build Finished %ret% =================================
|
|
|
|
if %ret% NEQ 0 exit /b %ret%
|