stackage-curator-0.15.0.0: Tools for curating Stackage bundles

Safe HaskellNone
LanguageHaskell2010

Stackage.ShowBuildPlan

Synopsis

Documentation

data Settings Source #

Settings affecting various functions in this module.

Since 0.1.0.0

parseSnapshotSpec :: MonadThrow m => Text -> m SnapshotSpec Source #

Parse a snapshot specification from the given Text.

Since 0.1.0.0

defaultSettings :: Settings Source #

Default settings, to be tweaked via setter functions.

Since 0.1.0.0

setMirror :: Text -> Settings -> Settings Source #

Set the mirror prefix for tarball downloads (shell script only).

Default: "https://s3.amazonaws.com/hackage.fpcomplete.com/package/"

Since 0.1.0.0

setSnapshot :: SnapshotSpec -> Settings -> Settings Source #

Set the snapshot from which to pull the build plan.

Default: latest LTS release

Since 0.1.0.0

setFullDeps :: Bool -> Settings -> Settings Source #

Should we trace dependencies of test suites and benchmarks?

Default: False

Since 0.1.1.0

data ShellCommands Source #

How to generate commands for shell output.

Since 0.1.0.0

setShellCommands :: ShellCommands -> Settings -> Settings Source #

Set the shell commands when using shell formatting.

Default: abstractCommands

Since 0.1.0.0

simpleCommands :: ShellCommands Source #

Use simple commands requiring no wrapper shell script

Since 0.1.0.0

mkPackageName :: String -> PackageName #

Construct a PackageName from a String

mkPackageName is the inverse to unPackageName

Note: No validations are performed to ensure that the resulting PackageName is valid

Since: 2.0