自动编译和提交脚本(结合svn和visual studio)
@echo 更新代码开始----------------- TortoiseProc.exe /command:update /path:"D:\work\mmsanguo_publish_1\client\project\" /closeonend:1 @echo 更新代码结束----------------- @echo 删除exe开始----------------- del/f/s/q D:\work\mmsanguo_publish_1\bin\trunk\client\GirlKingdom\GirlKingdom_d.exe del/f/s/q D:\work\mmsanguo_publish_1\bin\trunk\client\GirlKingdom\GirlKingdom_d.pdb @echo 删除exe开始----------------- @echo 更新资源开始----------------- TortoiseProc.exe /command:update /path:"D:\work\mmsanguo_publish_1\bin\" /closeonend:1 @echo 更新资源结束----------------- @echo 编译开始----------------- @set VS_PATH=D:\Program Files (x86)\Microsoft Visual Studio 10.0\ @call "%VS_PATH%\VC\vcvarsall.bat" @devenv client/project/GirlKingdom.sln /build "Debug" @echo 编译结束----------------- @echo 提交exe开始----------------- TortoiseProc.exe /command:commit /path:"D:\work\mmsanguo_publish_1\bin\trunk\client\GirlKingdom\GirlKingdom_d.exe" /logmsg:"commit exe " /closeonend:3 @echo 提交exe结束----------------- @echo --------------------完成!!------------------------