| 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 Snapshots = Snapshots {
- snapshotsNightly :: !Day
- snapshotsLts :: !(IntMap Int)
- data DepInfo = DepInfo {}
- data Component
- data SnapName
- data MiniBuildPlan = MiniBuildPlan {}
- miniBuildPlanVC :: VersionConfig MiniBuildPlan
- data MiniPackageInfo = MiniPackageInfo {
- mpiVersion :: !Version
- mpiFlags :: !(Map FlagName Bool)
- mpiGhcOptions :: ![Text]
- mpiPackageDeps :: !(Set PackageName)
- mpiToolDeps :: !(Set Text)
- mpiExes :: !(Set ExeName)
- mpiHasLibrary :: !Bool
- mpiGitSHA1 :: !(Maybe GitSHA1)
- data CabalFileInfo = CabalFileInfo {}
- newtype GitSHA1 = GitSHA1 ByteString
- renderSnapName :: SnapName -> Text
- parseSnapName :: MonadThrow m => Text -> m SnapName
- newtype SnapshotHash = SnapshotHash {}
- trimmedSnapshotHash :: SnapshotHash -> ByteString
- newtype ModuleName = ModuleName {}
- data ModuleInfo = ModuleInfo {
- miCorePackages :: !(Set PackageName)
- miModules :: !(Map ModuleName (Set PackageName))
- moduleInfoVC :: VersionConfig ModuleInfo
Types
Constructors
| BuildPlan | |
Fields
| |
data PackageConstraints Source #
Constructors
| PackageConstraints | |
Fields | |
Constructors
| ExpectSuccess | |
| ExpectFailure | |
| Don'tBuild | when the test suite will pull in things we don't want |
newtype Maintainer Source #
Constructors
| Maintainer | |
Fields
| |
Name of an executable.
Instances
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
| |
Instances
Most recent Nightly and newest LTS version per major release.
Constructors
| Snapshots | |
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 | |
data MiniPackageInfo Source #
Information on a single package for the MiniBuildPlan.
Constructors
| MiniPackageInfo | |
Fields
| |
data CabalFileInfo Source #
Information on the contents of a cabal file
Constructors
| CabalFileInfo | |
Instances
Constructors
| GitSHA1 ByteString |
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.
data ModuleInfo Source #
Constructors
| ModuleInfo | |
Fields
| |
Instances