Sign in Join
FPDoc Onlineexperiment

TBuildEngine.DoBeforeClean procedure

Member of TBuildEnginepublicIn unit fpMkUnit

Executes actions before package cleaning

Declaration

pascal
procedure DoBeforeClean(APackage: TPackage); virtual

Arguments

APackage

Package about to be cleaned

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.