| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stackage.BuildConstraints
Description
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)
- data PackageConstraints = PackageConstraints {}
- data TestState
- data SystemInfo = SystemInfo {}
- getSystemInfo :: IO SystemInfo
- defaultBuildConstraints :: Manager -> IO BuildConstraints
- toBC :: ConstraintFile -> IO BuildConstraints
Documentation
data BuildConstraints Source
Constructors
| BuildConstraints | |
Fields
| |
data PackageConstraints Source
Constructors
| PackageConstraints | |
Fields | |
Instances
| Eq PackageConstraints | |
| Show PackageConstraints | |
| ToJSON PackageConstraints | |
| FromJSON PackageConstraints |
Constructors
| ExpectSuccess | |
| ExpectFailure | |
| Don'tBuild | when the test suite will pull in things we don't want |
data SystemInfo Source
Constructors
| SystemInfo | |
Fields
| |
Instances
| Eq SystemInfo | |
| Ord SystemInfo | |
| Show SystemInfo | |
| ToJSON SystemInfo | |
| FromJSON 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