Skip to content

Commit

Permalink
compile+release.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Jan 12, 2024
1 parent 229d0c7 commit 5ef9dcd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DataScraping/Reps/OpenCL-Docs
Submodule OpenCL-Docs updated from 3e8ef8 to 2a783c
8 changes: 8 additions & 0 deletions PackAll-5 Compile + Release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@setlocal enableextensions
@cd /d "%~dp0"



start PackAll.exe "Stages=Reference+Compile+Release" %*


6 changes: 6 additions & 0 deletions PackAll.pas
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,15 @@

private function MakeModuleCompileTask(mn: string): AsyncTask;
begin
Result := nil;

if mn in CurrentStages then Result += EventTask(ModulePackingStage.GetModulePackEv(mn));
if mn+'ABC' in CurrentStages then Result += EventTask(ModulePackingStage.GetModulePackEv(mn+'ABC'));

// If no modules are selected, but compile stage is:
// - Compile everything except for Dummy
if not ModuleStages.Any and FileExists($'Modules/{mn}ABC.pas') then
Result += CompTask($'Modules.Packed/{mn}ABC.pas') else
if mn+'ABC' in CurrentStages then
Result += CompTask($'Modules.Packed/{mn}ABC.pas') else
if mn in CurrentStages then
Expand Down

0 comments on commit 5ef9dcd

Please sign in to comment.