TBuildEngine.DoBeforeClean¶
Executes actions before package cleaning
Declaration¶
Source position: fpmkunit.pp line 1473
public
procedure TBuildEngine.DoBeforeClean(APackage: TPackage); virtual;
Description¶
DoBeforeClean prepares for package cleaning by executing pre-cleanup tasks. This method backs up important files, runs custom pre-clean scripts, and identifies files to be removed.
The procedure ensures that critical files are preserved and performs any necessary preparation before the cleaning process removes temporary and generated files.