Phases (TODO)
By default, blocks run in the order specified in their Preset. However, some blocks may need to refer to the Indirect Creations produced by earlier blocks.
Blocks may specify a phase
property in their definition using a BlockPhase
enum.
Doing so indicates when that Block should be run relative to other blocks.
Those BlockPhase
phases are:
Default
Install
Source
Test
Build
Format
Lint
Package
Documentation
Git
Editor
CI
For example, a .gitignore
block that adds entries for all previously included metadata files: