uusi-0.4.3.0: Tweak .cabal files
Copyright(c) 2020-2021 berberman
LicenseMIT
Maintainerberberman <berberman@yandex.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Uusi.Core

Description

This module provides core functionality of uusi. It exports the core function uusiGenericPackageDescription, and some functions to create Uusi.

Synopsis

Documentation

uusiGenericPackageDescription Source #

Arguments

:: Uusis

A list of Action to apply

-> 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")

addOptionsForAll :: [String] -> Uusi Source #

Create Action that appends opts to ghc-options of all components and the library

removeOptionsForAll :: [String] -> Uusi Source #

Create Action that removes opts from ghc-options of all components and the library