Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TBuildEngine.DoBeforeClean

Executes actions before package cleaning

Declaration

Source position: fpmkunit.pp line 1458

public procedure TBuildEngine.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.


Documentation generated on: Dec 15 2025