Safe Haskell | None |
---|---|
Language | Haskell2010 |
The constraints on package selection for a new build plan.
- data BuildConstraints = BuildConstraints {
- bcPackages :: Set PackageName
- bcPackageConstraints :: PackageName -> PackageConstraints
- bcSystemInfo :: SystemInfo
- bcGithubUsers :: Map Text (Set Text)
- bcBuildToolOverrides :: Map Text (Set Text)
- bcTellMeWhenItsReleased :: Map PackageName Version
- bcNoRevisions :: !(Set PackageName)
- bcCabalFormatVersion :: !(Maybe Version)
- data PackageConstraints = PackageConstraints {}
- data TestState
- data SystemInfo = SystemInfo {}
- getSystemInfo :: IO SystemInfo
- defaultBuildConstraints :: Manager -> IO BuildConstraints
- toBC :: ConstraintFile -> IO BuildConstraints
- data BuildConstraintsSource
- loadBuildConstraints :: BuildConstraintsSource -> Manager -> IO BuildConstraints
- setConstraints :: [Dependency] -> BuildConstraints -> BuildConstraints
Documentation
data BuildConstraints Source #
BuildConstraints | |
|
data PackageConstraints Source #
PackageConstraints | |
|
ExpectSuccess | |
ExpectFailure | |
Don'tBuild | when the test suite will pull in things we don't want |
data SystemInfo Source #
SystemInfo | |
|
defaultBuildConstraints :: Manager -> IO BuildConstraints Source #
The proposed plan from the requirements provided by contributors.
Checks the current directory for a build-constraints.yaml file and uses it if present. If not, downloads from Github.
toBC :: ConstraintFile -> IO BuildConstraints Source #
setConstraints :: [Dependency] -> BuildConstraints -> BuildConstraints Source #
Modify the version bounds with the given Dependencies