Safe Haskell | None |
---|---|
Language | Haskell2010 |
Configuration options for building.
- data BuildOpts = BuildOpts {
- boptsLibProfile :: !Bool
- boptsExeProfile :: !Bool
- boptsLibStrip :: !Bool
- boptsExeStrip :: !Bool
- boptsHaddock :: !Bool
- boptsHaddockOpts :: !HaddockOpts
- boptsOpenHaddocks :: !Bool
- boptsHaddockDeps :: !(Maybe Bool)
- boptsHaddockInternal :: !Bool
- boptsHaddockHyperlinkSource :: !Bool
- boptsInstallExes :: !Bool
- boptsInstallCompilerTool :: !Bool
- boptsPreFetch :: !Bool
- boptsKeepGoing :: !(Maybe Bool)
- boptsForceDirty :: !Bool
- boptsTests :: !Bool
- boptsTestOpts :: !TestOpts
- boptsBenchmarks :: !Bool
- boptsBenchmarkOpts :: !BenchmarkOpts
- boptsReconfigure :: !Bool
- boptsCabalVerbose :: !Bool
- boptsSplitObjs :: !Bool
- boptsSkipComponents :: ![Text]
- data BuildCommand
- defaultBuildOpts :: BuildOpts
- defaultBuildOptsCLI :: BuildOptsCLI
- data BuildOptsCLI = BuildOptsCLI {
- boptsCLITargets :: ![Text]
- boptsCLIDryrun :: !Bool
- boptsCLIGhcOptions :: ![Text]
- boptsCLIFlags :: !(Map (Maybe PackageName) (Map FlagName Bool))
- boptsCLIBuildSubset :: !BuildSubset
- boptsCLIFileWatch :: !FileWatchOpts
- boptsCLIExec :: ![(String, [String])]
- boptsCLIOnlyConfigure :: !Bool
- boptsCLICommand :: !BuildCommand
- boptsCLIInitialBuildSteps :: !Bool
- data BuildOptsMonoid = BuildOptsMonoid {
- buildMonoidTrace :: !Any
- buildMonoidProfile :: !Any
- buildMonoidNoStrip :: !Any
- buildMonoidLibProfile :: !(First Bool)
- buildMonoidExeProfile :: !(First Bool)
- buildMonoidLibStrip :: !(First Bool)
- buildMonoidExeStrip :: !(First Bool)
- buildMonoidHaddock :: !(First Bool)
- buildMonoidHaddockOpts :: !HaddockOptsMonoid
- buildMonoidOpenHaddocks :: !(First Bool)
- buildMonoidHaddockDeps :: !(First Bool)
- buildMonoidHaddockInternal :: !(First Bool)
- buildMonoidHaddockHyperlinkSource :: !(First Bool)
- buildMonoidInstallExes :: !(First Bool)
- buildMonoidInstallCompilerTool :: !(First Bool)
- buildMonoidPreFetch :: !(First Bool)
- buildMonoidKeepGoing :: !(First Bool)
- buildMonoidForceDirty :: !(First Bool)
- buildMonoidTests :: !(First Bool)
- buildMonoidTestOpts :: !TestOptsMonoid
- buildMonoidBenchmarks :: !(First Bool)
- buildMonoidBenchmarkOpts :: !BenchmarkOptsMonoid
- buildMonoidReconfigure :: !(First Bool)
- buildMonoidCabalVerbose :: !(First Bool)
- buildMonoidSplitObjs :: !(First Bool)
- buildMonoidSkipComponents :: ![Text]
- data TestOpts = TestOpts {
- toRerunTests :: !Bool
- toAdditionalArgs :: ![String]
- toCoverage :: !Bool
- toDisableRun :: !Bool
- defaultTestOpts :: TestOpts
- data TestOptsMonoid = TestOptsMonoid {
- toMonoidRerunTests :: !(First Bool)
- toMonoidAdditionalArgs :: ![String]
- toMonoidCoverage :: !(First Bool)
- toMonoidDisableRun :: !(First Bool)
- newtype HaddockOpts = HaddockOpts {
- hoAdditionalArgs :: [String]
- defaultHaddockOpts :: HaddockOpts
- newtype HaddockOptsMonoid = HaddockOptsMonoid {}
- data BenchmarkOpts = BenchmarkOpts {
- beoAdditionalArgs :: !(Maybe String)
- beoDisableRun :: !Bool
- defaultBenchmarkOpts :: BenchmarkOpts
- data BenchmarkOptsMonoid = BenchmarkOptsMonoid {
- beoMonoidAdditionalArgs :: !(First String)
- beoMonoidDisableRun :: !(First Bool)
- data FileWatchOpts
- data BuildSubset
Documentation
Build options that is interpreted by the build command. This is built up from BuildOptsCLI and BuildOptsMonoid
BuildOpts | |
|
data BuildCommand Source #
Command sum type for conditional arguments.
data BuildOptsCLI Source #
Build options that may only be specified from the CLI
BuildOptsCLI | |
|
data BuildOptsMonoid Source #
Build options that may be specified in the stack.yaml or from the CLI
Options for the FinalAction
DoTests
TestOpts | |
|
data TestOptsMonoid Source #
TestOptsMonoid | |
|
newtype HaddockOpts Source #
Haddock Options
HaddockOpts | |
|
newtype HaddockOptsMonoid Source #
data BenchmarkOpts Source #
Options for the FinalAction
DoBenchmarks
BenchmarkOpts | |
|
data BenchmarkOptsMonoid Source #
data FileWatchOpts Source #
data BuildSubset Source #
Which subset of packages to build
BSAll | |
BSOnlySnapshot | Only install packages in the snapshot database, skipping packages intended for the local database. |
BSOnlyDependencies |