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

Stack.Script

Synopsis

Documentation

data ScriptOpts Source #

Type representing command line options for the stack script command.

Instances

Instances details
Show ScriptOpts Source # 
Instance details

Defined in Stack.Script

data ScriptExecute Source #

Type representing choices of interpreting, compiling (without optimisation) and compiling (with optimisation).

Constructors

SEInterpret 
SECompile

Without optimisation.

SEOptimize

Compile with optimisation.

Instances

Instances details
Show ScriptExecute Source # 
Instance details

Defined in Stack.Script

data ShouldRun Source #

Type representing choices of whether to run or not.

Constructors

YesRun

Run.

NoRun

Do not run.

Instances

Instances details
Show ShouldRun Source # 
Instance details

Defined in Stack.Script

scriptCmd :: ScriptOpts -> RIO Runner () Source #

Run a Stack Script