Modulecabal-install-3.12.1.0Haskell2010
Distribution.Client.CmdHaddock
cabal-install CLI command: haddock
- 1 type
- 4 values
- Packagecabal-install-3.12.1.0
- Exports5
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceCmdHaddock.hs
The haddock CLI and action
3 declarationsThe haddock command is TODO.
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 haddock command.
It selects the AvailableTargets that the TargetSelector refers to,
or otherwise classifies the problem.
For the haddock command we select all buildable libraries. Additionally,
depending on the --executables flag we also select all the buildable exes.
We do similarly for test-suites, benchmarks and foreign libs.
For a TargetComponent TargetSelector, check if the component can be selected.
For the haddock command we just need the basic checks on being buildable
etc.