stack-3.7.1: The Haskell Tool Stack
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2021

Stack.Types.ProjectConfig

Description

 
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 ![RawPackageLocationImmutable]

Use a no project run. This comes from StackYamlLocSYLNoProject.

isPCGlobalProject :: ProjectConfig a -> Bool Source #

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