packages feed

cabal-bounds 0.1.2 → 0.1.3

raw patch · 2 files changed

+32/−4 lines, 2 filesdep ~Cabal

Dependency ranges changed: Cabal

Files

README.md view
@@ -25,6 +25,34 @@     $> # update the upper bound of all dependencies in 'myproject.cabal' by the cabal build information     $> cabal-bounds update --upper --ignore=base myproject.cabal dist/dist-sandbox-*/setup-config  +Examples+========++The `=>` shows what the result is of the operation for every dependency. Left is the dependency before+calling the command, right the one after calling.++    $> cabal drop myproject.cabal+    lens >=4.0.1 && <4.1   =>   lens++    $> cabal drop --upper myproject.cabal+    lens >=4.0.1 && <4.1   =>   lens >=4.0.1++If the cabal build (the setup-config) uses `lens 4.1.2`, then the results of the `update` command would be:++    $> cabal update myproject.cabal setup-config+    lens >=4.0.1 && <4.1   =>   lens >=4.1.2 && <4.2+    lens                   =>   lens >=4.1.2 && <4.2++    $> cabal update --lower myproject.cabal setup-config+    lens >=4.0.1 && <4.1   =>   lens >=4.1.2+    lens <4.1              =>   lens >=4.1.2+    lens                   =>   lens >=4.1.2++    $> cabal update --upper myproject.cabal setup-config+    lens >=4.0.1 && <4.1   =>   lens >=4.0.1 && <4.2+    lens >=4.0.1           =>   lens >=4.0.1 && <4.2+    lens                   =>   lens >=4.1.2 && <4.2+ Installation ============ 
cabal-bounds.cabal view
@@ -1,5 +1,5 @@ name: cabal-bounds-version: 0.1.2+version: 0.1.3 cabal-version: >=1.9.2 build-type: Simple license: BSD3@@ -20,7 +20,7 @@   library     build-depends: base >=3 && <5, cmdargs >=0.10.5 && <0.11,-                   lens >=4.0.1 && <4.1, strict >=0.3.2 && <0.4, Cabal >=1.18.0+                   lens >=4.0.1 && <4.1, strict >=0.3.2 && <0.4, Cabal >=1.18.0 && <1.19     exposed-modules: CabalBounds.Args CabalBounds.Main     exposed: True     buildable: True@@ -33,7 +33,7 @@   executable cabal-bounds     build-depends: base >=3 && <5, cmdargs >=0.10.5 && <0.11,-                   lens >=4.0.1 && <4.1, strict >=0.3.2 && <0.4, Cabal >=1.18.0+                   lens >=4.0.1 && <4.1, strict >=0.3.2 && <0.4, Cabal >=1.18.0 && <1.19     main-is: Main.hs     buildable: True     cpp-options: -DCABAL@@ -46,7 +46,7 @@   test-suite cabal-bounds-tests     build-depends: base >=3 && <5, cmdargs >=0.10.5 && <0.11,-                   lens >=4.0.1 && <4.1, strict >=0.3.2 && <0.4, Cabal >=1.18.0,+                   lens >=4.0.1 && <4.1, strict >=0.3.2 && <0.4, Cabal >=1.18.0 && <1.19,                    tasty ==0.7.*, tasty-golden >=2.2.0.2 && <2.3,                    filepath >=1.3.0.1 && <1.4, cabal-bounds -any     type: exitcode-stdio-1.0