Cabal-2.4.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.PackageDescription.FieldGrammar

Contents

Description

GenericPackageDescription Field descriptions

Synopsis

Package description

Library

Foreign library

Executable

Test suite

data TestSuiteStanza #

An intermediate type just used for parsing the test-suite stanza. After validation it is converted into the proper TestSuite type.

Instances
HasBuildInfo TestSuiteStanza # 
Instance details

Defined in Distribution.PackageDescription.FieldGrammar

Methods

buildInfo :: Lens' TestSuiteStanza BuildInfo #

buildable :: Lens' TestSuiteStanza Bool #

buildTools :: Lens' TestSuiteStanza [LegacyExeDependency] #

buildToolDepends :: Lens' TestSuiteStanza [ExeDependency] #

cppOptions :: Lens' TestSuiteStanza [String] #

asmOptions :: Lens' TestSuiteStanza [String] #

cmmOptions :: Lens' TestSuiteStanza [String] #

ccOptions :: Lens' TestSuiteStanza [String] #

cxxOptions :: Lens' TestSuiteStanza [String] #

ldOptions :: Lens' TestSuiteStanza [String] #

pkgconfigDepends :: Lens' TestSuiteStanza [PkgconfigDependency] #

frameworks :: Lens' TestSuiteStanza [String] #

extraFrameworkDirs :: Lens' TestSuiteStanza [String] #

asmSources :: Lens' TestSuiteStanza [FilePath] #

cmmSources :: Lens' TestSuiteStanza [FilePath] #

cSources :: Lens' TestSuiteStanza [FilePath] #

cxxSources :: Lens' TestSuiteStanza [FilePath] #

jsSources :: Lens' TestSuiteStanza [FilePath] #

hsSourceDirs :: Lens' TestSuiteStanza [FilePath] #

otherModules :: Lens' TestSuiteStanza [ModuleName] #

virtualModules :: Lens' TestSuiteStanza [ModuleName] #

autogenModules :: Lens' TestSuiteStanza [ModuleName] #

defaultLanguage :: Lens' TestSuiteStanza (Maybe Language) #

otherLanguages :: Lens' TestSuiteStanza [Language] #

defaultExtensions :: Lens' TestSuiteStanza [Extension] #

otherExtensions :: Lens' TestSuiteStanza [Extension] #

oldExtensions :: Lens' TestSuiteStanza [Extension] #

extraLibs :: Lens' TestSuiteStanza [String] #

extraGHCiLibs :: Lens' TestSuiteStanza [String] #

extraBundledLibs :: Lens' TestSuiteStanza [String] #

extraLibFlavours :: Lens' TestSuiteStanza [String] #

extraLibDirs :: Lens' TestSuiteStanza [String] #

includeDirs :: Lens' TestSuiteStanza [FilePath] #

includes :: Lens' TestSuiteStanza [FilePath] #

installIncludes :: Lens' TestSuiteStanza [FilePath] #

options :: Lens' TestSuiteStanza [(CompilerFlavor, [String])] #

profOptions :: Lens' TestSuiteStanza [(CompilerFlavor, [String])] #

sharedOptions :: Lens' TestSuiteStanza [(CompilerFlavor, [String])] #

staticOptions :: Lens' TestSuiteStanza [(CompilerFlavor, [String])] #

customFieldsBI :: Lens' TestSuiteStanza [(String, String)] #

targetBuildDepends :: Lens' TestSuiteStanza [Dependency] #

mixins :: Lens' TestSuiteStanza [Mixin] #

Lenses

Benchmark

data BenchmarkStanza #

An intermediate type just used for parsing the benchmark stanza. After validation it is converted into the proper Benchmark type.

Instances
HasBuildInfo BenchmarkStanza # 
Instance details

Defined in Distribution.PackageDescription.FieldGrammar

Methods

buildInfo :: Lens' BenchmarkStanza BuildInfo #

buildable :: Lens' BenchmarkStanza Bool #

buildTools :: Lens' BenchmarkStanza [LegacyExeDependency] #

buildToolDepends :: Lens' BenchmarkStanza [ExeDependency] #

cppOptions :: Lens' BenchmarkStanza [String] #

asmOptions :: Lens' BenchmarkStanza [String] #

cmmOptions :: Lens' BenchmarkStanza [String] #

ccOptions :: Lens' BenchmarkStanza [String] #

cxxOptions :: Lens' BenchmarkStanza [String] #

ldOptions :: Lens' BenchmarkStanza [String] #

pkgconfigDepends :: Lens' BenchmarkStanza [PkgconfigDependency] #

frameworks :: Lens' BenchmarkStanza [String] #

extraFrameworkDirs :: Lens' BenchmarkStanza [String] #

asmSources :: Lens' BenchmarkStanza [FilePath] #

cmmSources :: Lens' BenchmarkStanza [FilePath] #

cSources :: Lens' BenchmarkStanza [FilePath] #

cxxSources :: Lens' BenchmarkStanza [FilePath] #

jsSources :: Lens' BenchmarkStanza [FilePath] #

hsSourceDirs :: Lens' BenchmarkStanza [FilePath] #

otherModules :: Lens' BenchmarkStanza [ModuleName] #

virtualModules :: Lens' BenchmarkStanza [ModuleName] #

autogenModules :: Lens' BenchmarkStanza [ModuleName] #

defaultLanguage :: Lens' BenchmarkStanza (Maybe Language) #

otherLanguages :: Lens' BenchmarkStanza [Language] #

defaultExtensions :: Lens' BenchmarkStanza [Extension] #

otherExtensions :: Lens' BenchmarkStanza [Extension] #

oldExtensions :: Lens' BenchmarkStanza [Extension] #

extraLibs :: Lens' BenchmarkStanza [String] #

extraGHCiLibs :: Lens' BenchmarkStanza [String] #

extraBundledLibs :: Lens' BenchmarkStanza [String] #

extraLibFlavours :: Lens' BenchmarkStanza [String] #

extraLibDirs :: Lens' BenchmarkStanza [String] #

includeDirs :: Lens' BenchmarkStanza [FilePath] #

includes :: Lens' BenchmarkStanza [FilePath] #

installIncludes :: Lens' BenchmarkStanza [FilePath] #

options :: Lens' BenchmarkStanza [(CompilerFlavor, [String])] #

profOptions :: Lens' BenchmarkStanza [(CompilerFlavor, [String])] #

sharedOptions :: Lens' BenchmarkStanza [(CompilerFlavor, [String])] #

staticOptions :: Lens' BenchmarkStanza [(CompilerFlavor, [String])] #

customFieldsBI :: Lens' BenchmarkStanza [(String, String)] #

targetBuildDepends :: Lens' BenchmarkStanza [Dependency] #

mixins :: Lens' BenchmarkStanza [Mixin] #

Lenses

Flag

Source repository

Setup build info

Component build info