Удаление pcu стандартных модулей SPython перед их компиляцией в bat файлах (#3407)
* Return rebuild for RebuildStandartModulesSPython * Add SPython pcu files deletion command in bat files * Fix linux sh script for SPython modules
This commit is contained in:
parent
e508aeb1d9
commit
60799b031b
|
|
@ -18,8 +18,11 @@ dotnet build -c Release --no-incremental PascalABCNET.sln
|
||||||
|
|
||||||
cd ReleaseGenerators
|
cd ReleaseGenerators
|
||||||
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
||||||
rem /rebuild здесь пока нельзя
|
|
||||||
|
rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild
|
||||||
|
del "..\bin\Lib\SPython\*.pcu" /q
|
||||||
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
||||||
|
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||||
|
|
||||||
cd PABCRtl
|
cd PABCRtl
|
||||||
|
|
@ -35,8 +38,11 @@ ExecHide.exe gacutil.exe /u PABCRtl
|
||||||
ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll
|
ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll
|
||||||
|
|
||||||
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
||||||
rem /rebuild здесь пока нельзя
|
|
||||||
|
rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild
|
||||||
|
del "..\bin\Lib\SPython\*.pcu" /q
|
||||||
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
||||||
|
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,11 @@ dotnet build -c Release --no-incremental PascalABCNET.sln
|
||||||
|
|
||||||
cd ReleaseGenerators
|
cd ReleaseGenerators
|
||||||
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
||||||
rem /rebuild здесь пока нельзя
|
|
||||||
|
rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild
|
||||||
|
del "..\bin\Lib\SPython\*.pcu" /q
|
||||||
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
||||||
|
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -22,8 +25,11 @@ ExecHide.exe gacutil.exe /u PABCRtl
|
||||||
ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll
|
ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll
|
||||||
|
|
||||||
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
..\bin\pabcnetc RebuildStandartModules.pas /rebuild
|
||||||
rem /rebuild здесь пока нельзя
|
|
||||||
|
rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild
|
||||||
|
del "..\bin\Lib\SPython\*.pcu" /q
|
||||||
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
..\bin\pabcnetc RebuildStandartModulesSPython.pas
|
||||||
|
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,9 @@ mono --aot bin/PascalABCLanguageInfo.dll
|
||||||
|
|
||||||
cd ReleaseGenerators
|
cd ReleaseGenerators
|
||||||
mono ../bin/pabcnetc.exe RebuildStandartModulesMono.pas /rebuild
|
mono ../bin/pabcnetc.exe RebuildStandartModulesMono.pas /rebuild
|
||||||
# /rebuild здесь пока нельзя
|
|
||||||
|
# Удаляем pcu для SPython модулей, чтобы не применять /rebuild
|
||||||
|
rm -f ../bin/Lib/SPython/*.pcu
|
||||||
mono ../bin/pabcnetc RebuildStandartModulesSPython.pas
|
mono ../bin/pabcnetc RebuildStandartModulesSPython.pas
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,11 @@ dotnet build -c Release PascalABCNET.sln
|
||||||
|
|
||||||
cd ReleaseGenerators
|
cd ReleaseGenerators
|
||||||
..\bin\pabcnetc RebuildStandartModules.pas /rebuild /noconsole
|
..\bin\pabcnetc RebuildStandartModules.pas /rebuild /noconsole
|
||||||
rem /rebuild здесь пока нельзя
|
|
||||||
|
rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild
|
||||||
|
del "..\bin\Lib\SPython\*.pcu" /q
|
||||||
..\bin\pabcnetc RebuildStandartModulesSPython.pas /noconsole
|
..\bin\pabcnetc RebuildStandartModulesSPython.pas /noconsole
|
||||||
|
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -22,8 +25,11 @@ ExecHide.exe gacutil.exe /u PABCRtl
|
||||||
ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll
|
ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll
|
||||||
|
|
||||||
..\bin\pabcnetc RebuildStandartModules.pas /rebuild /noconsole
|
..\bin\pabcnetc RebuildStandartModules.pas /rebuild /noconsole
|
||||||
rem /rebuild здесь пока нельзя
|
|
||||||
|
rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild
|
||||||
|
del "..\bin\Lib\SPython\*.pcu" /q
|
||||||
..\bin\pabcnetc RebuildStandartModulesSPython.pas /noconsole
|
..\bin\pabcnetc RebuildStandartModulesSPython.pas /noconsole
|
||||||
|
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
@IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue