Is there a hook in psake to run a clean up block after ALL talks (not just per task)?
Thanks
Is there a hook in psake to run a clean up block after ALL talks (not just per task)?
Thanks
There is not such an option, as far as I know. There are a few related issues:
If this feature is important, you may take a look at the similar tool
Invoke-Build. It supports such
features as two functions defined in a build script: Enter-Build
(invoked
before the first task, a place for initialization) and Exit-Build
(invoked
when a build is finished or failed, i.e. always, a place for clean up).