Modulecabal-install-3.12.1.0Haskell2010
Distribution.Client.CmdBuild
cabal-install CLI command: build
- 1 type
- 5 values
- Packagecabal-install-3.12.1.0
- Exports6
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceCmdBuild.hs
The build CLI and action
4 declarationsThe build command does a lot. It brings the install plan up to date,
selects that part of the plan needed by the given or implicit targets and
then executes the plan.
For more details on how this works, see the module Distribution.Client.ProjectOrchestration
Constructors
Internals exposed for testing
2 declarationsThis defines what a TargetSelector means for the bench command.
It selects the AvailableTargets that the TargetSelector refers to,
or otherwise classifies the problem.
For the build command select all components except non-buildable
and disabled tests/benchmarks, fail if there are no such
components
For a TargetComponent TargetSelector, check if the component can be selected.
For the build command we just need the basic checks on being buildable etc.