Copyright | (c) 2020-2021 berberman |
---|---|
License | MIT |
Maintainer | berberman <berberman@yandex.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module provides core functionality of uusi
.
It exports the core function uusiGenericPackageDescription
, and some functions to create Uusi
.
Synopsis
- uusiGenericPackageDescription :: Uusis -> Op GenericPackageDescription
- allToAnyVersion :: Uusi
- removeByName :: PackageName -> Uusi
- overwriteByName :: PackageName -> VersionRange -> Uusi
- replaceByName :: PackageName -> [(PackageName, VersionRange)] -> Uusi
- buildableByName :: UnqualComponentName -> Bool -> Uusi
- optionsByName :: UnqualComponentName -> Op [String] -> Uusi
- addOptionsForAll :: [String] -> Uusi
- removeOptionsForAll :: [String] -> Uusi
Documentation
uusiGenericPackageDescription Source #
:: Uusis | A list of |
-> Op GenericPackageDescription |
The core function of uusi
.
allToAnyVersion :: Uusi Source #
Create Action
that removes all version constraints
removeByName :: PackageName -> Uusi Source #
Create Action
that removes a dependency by given its name
overwriteByName :: PackageName -> VersionRange -> Uusi Source #
Create Action
that overwrites a dependency's version range
replaceByName :: PackageName -> [(PackageName, VersionRange)] -> Uusi Source #
Create Action
that replaces a dependency with a set of packages
buildableByName :: UnqualComponentName -> Bool -> Uusi Source #
Create Action
that sets the buildable of a component (not library)
optionsByName :: UnqualComponentName -> Op [String] -> Uusi Source #
Create Action
that modifies ghc-options of a component (or the library, if name == "library"
)