cabal-bounds 0.1.6 → 0.1.7
raw patch · 2 files changed
+13/−11 lines, 2 files
Files
- README.md +5/−5
- cabal-bounds.cabal +8/−6
README.md view
@@ -18,19 +18,19 @@ `cabal-bounds` tries to automate this update process to some degree. So a typical update process might look like: - $> # update the version infos of all libraries+ # update the version infos of all libraries $> cabal update - $> # drops the upper bound of all dependencies in 'myproject.cabal', most likely you want to ignore 'base'+ # drops the upper bound of all dependencies in 'myproject.cabal', most likely you want to ignore 'base' $> cabal-bounds drop --upper --ignore=base myproject.cabal - $> # create a cabal sandbox for building of 'myproject'+ # create a cabal sandbox for building of 'myproject' $> cabal sandbox init - $> # build 'myproject'+ # build 'myproject' $> cabal install - $> # update the upper bound of all dependencies in 'myproject.cabal' by the cabal build information+ # 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 Example: Bound Changes
cabal-bounds.cabal view
@@ -1,5 +1,5 @@ name: cabal-bounds-version: 0.1.6+version: 0.1.7 cabal-version: >=1.9.2 build-type: Simple license: BSD3@@ -20,19 +20,21 @@ . 'cabal-bounds' tries to automate this update process to some degree. So a typical update process might look like: .- > $> # update the version infos of all libraries+ > # update the version infos of all libraries > $> cabal update > - > $> # drops the upper bound of all dependencies in 'myproject.cabal', most likely you want to ignore 'base'+ > # drops the upper bound of all dependencies in 'myproject.cabal',+ > # most likely you want to ignore 'base' > $> cabal-bounds drop --upper --ignore=base myproject.cabal > - > $> # create a cabal sandbox for building of 'myproject'+ > # create a cabal sandbox for building of 'myproject' > $> cabal sandbox init > - > $> # build 'myproject'+ > # build 'myproject' > $> cabal install > - > $> # update the upper bound of all dependencies in 'myproject.cabal' by the cabal build information+ > # 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 . /Example: Bound Changes/