staversion-0.2.3.3: What version is the package X in stackage lts-Y.ZZ?

MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Staversion.Internal.StackConfig

Contents

Description

This is an internal module. End-users should not use it.

Synopsis

StackConfig

data StackConfig Source #

Central entity that deals with stack.yaml and stack command.

scCommand :: StackConfig -> String Source #

(accessor) shell command for stack tool.

readResolver Source #

Arguments

:: StackConfig 
-> Maybe FilePath

path to stack.yaml. If Nothing, the default stack.yaml is used.

-> IO (Either ErrorMsg Resolver) 

Read the resolver field in stack.yaml.

readProjectCabals Source #

Arguments

:: StackConfig 
-> Maybe FilePath

path to stack.yaml. If Nothing, the default stack.yaml is used.

-> IO (Either ErrorMsg [FilePath])

paths to all .cabal files of the stack projects.

For tests