haskell-packages 0.2.3.1 → 0.2.3.2
raw patch · 4 files changed
+22/−20 lines, 4 filesdep ~aeson
Dependency ranges changed: aeson
Files
- CHANGELOG.md +7/−2
- README.md +6/−8
- haskell-packages.cabal +4/−9
- src/Distribution/HaskellSuite/Cabal.hs +5/−1
CHANGELOG.md view
@@ -1,8 +1,13 @@ Changes ======= -Version 0.2.3--------------+Version 0.2.3.2+---------------++Drop upper version bound on aeson.++Version 0.2.3.1+--------------- * Upgrade to optparse-applicative 0.6 * Provide the `--help` option for subcommands
README.md view
@@ -49,16 +49,14 @@ package resolution and `Distribution.HaskellSuite.Modules` for module resolution. -## Installation--It doesn't matter what Cabal version you use together with haskell-packages, but-if you want to invoke a haskell-packages compiler from Cabal (see-[Usage](#usage)), you need to build our [fork of Cabal][Cabal]. Eventually it-will be merged into Cabal.+## Usage -[Cabal]: https://github.com/feuerbach/Cabal+First, make sure that you have cabal-install from git: -## Usage+ git clone git@github.com:haskell/cabal.git+ cd cabal+ (cd Cabal && cabal install)+ (cd cabal-install && cabal install) To compile a Haskell package using a haskell-packages tool:
haskell-packages.cabal view
@@ -1,8 +1,8 @@--- Initial haskell-packages.cabal generated by cabal init. For further +-- Initial haskell-packages.cabal generated by cabal init. For further -- documentation, see http://haskell.org/cabal/users-guide/ name: haskell-packages-version: 0.2.3.1+version: 0.2.3.2 synopsis: Haskell suite library for package management and integration with Cabal description: See <http://documentup.com/haskell-suite/haskell-packages> license: MIT@@ -23,11 +23,6 @@ type: git location: git://github.com/haskell-suite/haskell-packages.git -source-repository this- type: git- location: git://github.com/haskell-suite/haskell-packages.git- tag: v0.2.3.1- library default-language: Haskell2010 Hs-source-dirs:@@ -44,8 +39,8 @@ build-depends: base >=4.5 && < 5 , optparse-applicative >= 0.6- , aeson == 0.6.*- , bytestring >=0.9+ , aeson >= 0.6+ , bytestring >= 0.9 , Cabal >= 1.14 , deepseq , directory
src/Distribution/HaskellSuite/Cabal.hs view
@@ -40,7 +40,11 @@ :: forall c . Compiler.Is c => c -> IO () main t =- join $ customExecParser (prefs noBacktrack) $ info (helper <*> optParser) idm+ join $ customExecParser+ (prefs $+ noBacktrack <>+ columns 80+ ) $ info (helper <*> optParser) idm where optParser =