Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stack.Types.BuildPlan
Contents
Description
Shared types for various stackage packages.
- data BuildPlan = BuildPlan {}
- data PackagePlan = PackagePlan {}
- data PackageConstraints = PackageConstraints {}
- data TestState
- data SystemInfo = SystemInfo {}
- newtype Maintainer = Maintainer {
- unMaintainer :: Text
- newtype ExeName = ExeName {}
- data SimpleDesc = SimpleDesc {}
- data DepInfo = DepInfo {}
- data Component
- data SnapName
- data MiniBuildPlan = MiniBuildPlan {}
- data MiniPackageInfo = MiniPackageInfo {
- mpiVersion :: !Version
- mpiFlags :: !(Map FlagName Bool)
- mpiPackageDeps :: !(Set PackageName)
- mpiToolDeps :: !(Set ByteString)
- mpiExes :: !(Set ExeName)
- mpiHasLibrary :: !Bool
- renderSnapName :: SnapName -> Text
- parseSnapName :: MonadThrow m => Text -> m SnapName
Types
Constructors
BuildPlan | |
Fields
|
data PackagePlan Source
Constructors
PackagePlan | |
Fields
|
data PackageConstraints Source
Constructors
PackageConstraints | |
Fields |
Constructors
ExpectSuccess | |
ExpectFailure | |
Don'tBuild | when the test suite will pull in things we don't want |
data SystemInfo Source
Constructors
SystemInfo | |
Fields |
newtype Maintainer Source
Constructors
Maintainer | |
Fields
|
Name of an executable.
Constructors
ExeName | |
Fields |
Instances
Eq ExeName Source | |
Ord ExeName Source | |
Show ExeName Source | |
IsString ExeName Source | |
Generic ExeName Source | |
Binary ExeName Source | |
ToJSON ExeName Source | |
FromJSON ExeName Source | |
NFData ExeName Source | |
Hashable ExeName Source | |
HasStructuralInfo ExeName Source | |
ToJSON a => ToJSON (Map ExeName a) Source | |
FromJSON a => FromJSON (Map ExeName a) Source | |
type Rep ExeName Source |
data SimpleDesc Source
A simplified package description that tracks:
- Package dependencies
- Build tool dependencies
- Provided executables
It has fully resolved all conditionals
Constructors
SimpleDesc | |
Fields
|
Constructors
DepInfo | |
Fields |
Constructors
CompLibrary | |
CompExecutable | |
CompTestSuite | |
CompBenchmark |
The name of an LTS Haskell or Stackage Nightly snapshot.
data MiniBuildPlan Source
A simplified version of the BuildPlan
+ cabal file.
Constructors
MiniBuildPlan | |
Fields |
Instances
Eq MiniBuildPlan Source | |
Show MiniBuildPlan Source | |
Generic MiniBuildPlan Source | |
Binary MiniBuildPlan Source | |
NFData MiniBuildPlan Source | |
HasStructuralInfo MiniBuildPlan Source | |
HasSemanticVersion MiniBuildPlan Source | |
type Rep MiniBuildPlan Source | |
type SemanticVersion MiniBuildPlan = 0 |
data MiniPackageInfo Source
Information on a single package for the MiniBuildPlan
.
Constructors
MiniPackageInfo | |
Fields
|
Instances
renderSnapName :: SnapName -> Text Source
Convert a SnapName
into its short representation, e.g. lts-2.8
,
nightly-2015-03-05
.
parseSnapName :: MonadThrow m => Text -> m SnapName Source
Parse the short representation of a SnapName
.