pascalabcnet/_RebuildReleaseAndRunTests.bat

48 lines
939 B
Batchfile
Raw Normal View History

call Studio.bat /t:rebuild "/property:Configuration=Release" "/p:Platform=Any CPU" PascalABCNET.sln
2015-12-29 15:32:45 +03:00
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
cd ReleaseGenerators
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
2023-07-29 10:08:33 +03:00
2015-12-29 15:32:45 +03:00
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
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
2023-07-29 10:08:33 +03:00
2015-12-29 15:32:45 +03:00
cd ..\bin
REM MPGORunner.exe
2023-08-14 00:17:35 +03:00
pabcnetcclear TestRunner.pas
TestRunner.exe 1
TestRunner.exe 2
TestRunner.exe 3
TestRunner.exe 4
TestRunner.exe 5
2019-10-06 13:38:27 +03:00
TestRunner.exe 6
2015-12-29 15:32:45 +03:00
cd ..
2023-08-14 00:17:35 +03:00
cd bin
pabcnetcclear GitIgnoreTester.pas
GitIgnoreTester.exe NoWait
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
cd ..
2015-12-29 15:32:45 +03:00
GOTO EXIT
:ERROR
PAUSE
:EXIT