hie-bios-0.2.1: Set up a GHC API session

Safe HaskellNone
LanguageHaskell2010

HIE.Bios.Config

Documentation

data Config Source #

Constructors

Config 

Fields

Instances
Show Config Source # 
Instance details

Defined in HIE.Bios.Config

FromJSON Config Source # 
Instance details

Defined in HIE.Bios.Config

data CradleConfig Source #

Constructors

CradleConfig 

Fields

  • cradleDependencies :: [FilePath]

    Dependencies of a cradle. Dependencies are expected to be relative to the root directory. The given files are not required to exist.

  • cradleType :: CradleType

    Type of the cradle to use. Actions to obtain compiler flags from are dependant on this field.

Instances
Show CradleConfig Source # 
Instance details

Defined in HIE.Bios.Config

data CradleType Source #

Constructors

Cabal 
Stack 
Bazel 
Obelisk 
Bios 

Fields

  • prog :: FilePath

    Path to program that retrieves options to compile a file

  • depsProg :: Maybe FilePath

    Optional Path to program to obtain cradle dependencies. Each cradle dependency is to be expected to be on a separate line and relative to the root dir of the cradle, not relative to the location of this program.

Direct 

Fields

Default 
Instances
Show CradleType Source # 
Instance details

Defined in HIE.Bios.Config

FromJSON CradleType Source # 
Instance details

Defined in HIE.Bios.Config