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

Stack.Types.ProjectConfig

Synopsis

Documentation

data ProjectConfig a Source #

Project configuration information. Not every run of Stack has a true local project; see constructors below.

Constructors

PCProject a

Normal run: we want a project, and have one. This comes from either SYLDefault or SYLOverride.

PCGlobalProject

No project was found when using SYLDefault. Instead, use the implicit global.

PCNoProject ![PackageIdentifierRevision]

Use a no project run. This comes from SYLNoProject.

isPCGlobalProject :: ProjectConfig a -> Bool Source #

Yields True only if the project configuration information is for the implicit global project.