From 67e433aa630716193f70ecd0deb16bb6622fd859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=BE=D0=BD=D0=B4=D0=B0=D1=80=D0=B5=D0=B2=20=D0=98?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD?= Date: Mon, 1 Aug 2016 20:57:38 +0200 Subject: [PATCH] add _RebuildReleaseAndBuildUnits.bat --- _RebuildReleaseAndBuildUnits.bat | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 _RebuildReleaseAndBuildUnits.bat diff --git a/_RebuildReleaseAndBuildUnits.bat b/_RebuildReleaseAndBuildUnits.bat new file mode 100644 index 000000000..1f6660845 --- /dev/null +++ b/_RebuildReleaseAndBuildUnits.bat @@ -0,0 +1,37 @@ +"%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild.exe" /t:rebuild /property:Configuration=Release /p:Platform="Any CPU" PascalABCNET.sln +@IF %ERRORLEVEL% NEQ 0 GOTO ERROR + +cd ReleaseGenerators +..\bin\pabcnetc RebuildStandartModules.pas /rebuild +@IF %ERRORLEVEL% NEQ 0 GOTO ERROR + +cd PABCRtl +..\..\bin\pabcnetc PABCRtl.pas /rebuild +@IF %ERRORLEVEL% NEQ 0 GOTO ERROR +..\sn.exe -Vr PABCRtl.dll +..\sn.exe -R PABCRtl.dll KeyPair.snk +..\sn.exe -Vu PABCRtl.dll +copy PABCRtl.dll ..\..\bin\Lib + +..\..\bin\pabcnetc PABCRtl32.pas /rebuild +@IF %ERRORLEVEL% NEQ 0 GOTO ERROR +..\sn.exe -Vr PABCRtl32.dll +..\sn.exe -R PABCRtl32.dll KeyPair32.snk +..\sn.exe -Vu PABCRtl32.dll +copy PABCRtl32.dll ..\..\bin\Lib +cd .. +ExecHide.exe gacutil.exe /u PABCRtl +ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll + +..\bin\pabcnetc RebuildStandartModules.pas /rebuild +@IF %ERRORLEVEL% NEQ 0 GOTO ERROR + +cd ..\bin +REM MPGORunner.exe +cd .. +GOTO EXIT + +:ERROR +PAUSE + +:EXIT \ No newline at end of file