diff --git a/_GenerateAllSetups.bat b/_GenerateAllSetups.bat index f2c81dd4d..3259b5b03 100644 --- a/_GenerateAllSetups.bat +++ b/_GenerateAllSetups.bat @@ -18,8 +18,11 @@ dotnet build -c Release --no-incremental PascalABCNET.sln cd ReleaseGenerators ..\bin\pabcnetc RebuildStandartModules.pas /rebuild -rem /rebuild здесь пока нельзя + +rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild +del "..\bin\Lib\SPython\*.pcu" /q ..\bin\pabcnetc RebuildStandartModulesSPython.pas + @IF %ERRORLEVEL% NEQ 0 GOTO ERROR cd PABCRtl @@ -35,8 +38,11 @@ ExecHide.exe gacutil.exe /u PABCRtl ExecHide.exe gacutil.exe /i ..\bin\Lib\PABCRtl.dll ..\bin\pabcnetc RebuildStandartModules.pas /rebuild -rem /rebuild здесь пока нельзя + +rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild +del "..\bin\Lib\SPython\*.pcu" /q ..\bin\pabcnetc RebuildStandartModulesSPython.pas + @IF %ERRORLEVEL% NEQ 0 GOTO ERROR diff --git a/_RebuildReleaseAndRunTests.bat b/_RebuildReleaseAndRunTests.bat index 710cfe313..f9efb9781 100644 --- a/_RebuildReleaseAndRunTests.bat +++ b/_RebuildReleaseAndRunTests.bat @@ -4,8 +4,11 @@ dotnet build -c Release --no-incremental PascalABCNET.sln cd ReleaseGenerators ..\bin\pabcnetc RebuildStandartModules.pas /rebuild -rem /rebuild здесь пока нельзя + +rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild +del "..\bin\Lib\SPython\*.pcu" /q ..\bin\pabcnetc RebuildStandartModulesSPython.pas + @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 ..\bin\pabcnetc RebuildStandartModules.pas /rebuild -rem /rebuild здесь пока нельзя + +rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild +del "..\bin\Lib\SPython\*.pcu" /q ..\bin\pabcnetc RebuildStandartModulesSPython.pas + @IF %ERRORLEVEL% NEQ 0 GOTO ERROR diff --git a/_RebuildReleaseAndRunTests.sh b/_RebuildReleaseAndRunTests.sh index d7f3596ba..fa287b9d4 100644 --- a/_RebuildReleaseAndRunTests.sh +++ b/_RebuildReleaseAndRunTests.sh @@ -18,7 +18,9 @@ mono --aot bin/PascalABCLanguageInfo.dll cd ReleaseGenerators mono ../bin/pabcnetc.exe RebuildStandartModulesMono.pas /rebuild -# /rebuild здесь пока нельзя + +# Удаляем pcu для SPython модулей, чтобы не применять /rebuild +rm -f ../bin/Lib/SPython/*.pcu mono ../bin/pabcnetc RebuildStandartModulesSPython.pas if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then diff --git a/_RebuildReleaseAndRunTestsForGitHubActions.bat b/_RebuildReleaseAndRunTestsForGitHubActions.bat index 7f711b401..bddbc9de4 100644 --- a/_RebuildReleaseAndRunTestsForGitHubActions.bat +++ b/_RebuildReleaseAndRunTestsForGitHubActions.bat @@ -4,8 +4,11 @@ dotnet build -c Release PascalABCNET.sln cd ReleaseGenerators ..\bin\pabcnetc RebuildStandartModules.pas /rebuild /noconsole -rem /rebuild здесь пока нельзя + +rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild +del "..\bin\Lib\SPython\*.pcu" /q ..\bin\pabcnetc RebuildStandartModulesSPython.pas /noconsole + @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 ..\bin\pabcnetc RebuildStandartModules.pas /rebuild /noconsole -rem /rebuild здесь пока нельзя + +rem Удаляем pcu для SPython модулей, чтобы не применять /rebuild +del "..\bin\Lib\SPython\*.pcu" /q ..\bin\pabcnetc RebuildStandartModulesSPython.pas /noconsole + @IF %ERRORLEVEL% NEQ 0 GOTO ERROR