pascalabcnet/_GenerateAllSetups.bat

64 lines
1.6 KiB
Batchfile
Raw Normal View History

2015-05-14 22:35:07 +03:00
cd ReleaseGenerators\Samples\
del Pas /s /q
del BF /s /q
del PL0 /s /q
GetSamples.exe "..\..\InstallerSamples" Pas\
GetSamples.exe _svn\BF BF
GetSamples.exe _svn\PL0\ PL0\
cd ..\..
cd utils\DefaultLanguageResMaker\
LanguageResMaker.exe
cd ..\..
Utils\IncrementVresion\IncrementVresion.exe Configuration\Version.defs REVISION 1
Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs Configuration\GlobalAssemblyInfo.cs.tmpl Configuration\GlobalAssemblyInfo.cs
Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs ReleaseGenerators\PascalABCNET_version.nsh.tmpl ReleaseGenerators\PascalABCNET_version.nsh
2016-09-16 22:14:49 +03:00
Utils\ReplaceInFiles\ReplaceInFiles.exe Configuration\Version.defs Configuration\pabcversion.txt.tmpl Release\pabcversion.txt
2015-05-14 22:35:07 +03:00
dotnet build -c Release --no-incremental PascalABCNET.sln
2015-05-14 22:35:07 +03:00
@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
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-05-14 22:35:07 +03:00
cd ..\bin
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
2016-09-16 22:14:49 +03:00
2015-05-14 22:35:07 +03:00
cd ..\ReleaseGenerators
call PascalABCNET_ALL.bat
cd ..
dotnet build -c Release --no-incremental PascalABCNET.sln
2015-05-14 22:35:07 +03:00
GOTO EXIT
:ERROR
PAUSE
:EXIT