forked from pascalabcnet/pascalabcnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add _RebuildReleaseAndBuildUnits.bat
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |