stack-2.15.1: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.BuildOptsCLI

Description

Configuration options for building from the command line only.

Synopsis

Documentation

data BuildOptsCLI Source #

Build options that may only be specified from the CLI

Instances

Instances details
Show BuildOptsCLI Source # 
Instance details

Defined in Stack.Types.BuildOptsCLI

data ApplyCLIFlag Source #

How to apply a CLI flag

Constructors

ACFAllProjectPackages

Apply to all project packages which have such a flag name available.

ACFByName !PackageName

Apply to the specified package only.

data BuildSubset Source #

Which subset of packages to build

Constructors

BSAll 
BSOnlySnapshot

Only install packages in the snapshot database, skipping packages intended for the local database.

BSOnlyDependencies 
BSOnlyLocals

Refuse to build anything in the snapshot database, see https://github.com/commercialhaskell/stack/issues/5272

Instances

Instances details
Show BuildSubset Source # 
Instance details

Defined in Stack.Types.BuildOptsCLI

Eq BuildSubset Source # 
Instance details

Defined in Stack.Types.BuildOptsCLI

data BuildCommand Source #

Command sum type for conditional arguments.

Constructors

Build 
Test 
Haddock 
Bench 
Install 

Instances

Instances details
Show BuildCommand Source # 
Instance details

Defined in Stack.Types.BuildOptsCLI

Eq BuildCommand Source # 
Instance details

Defined in Stack.Types.BuildOptsCLI

boptsCLIAllProgOptions :: BuildOptsCLI -> [Text] Source #

Generate a list of --PROG-option="argument" arguments for all PROGs.