Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Mar 26, 2018
    • Alex Biehl's avatar
      Haddock: Generate haddock for components · 4466310e
      Alex Biehl authored
      Currently settings `documentation: true` enables documentation
      generation via haddock for your whole package, including tests and benchmarks.
      However, there are additional flags to control generation of
      documentation for this "second class" documentation targets, which are
      currently not honored at the cabal-install side of things. Namely,
      `tests`, `benchmarks`, `executables`, etc. provided under the
      `haddock` section in your `$CABAL_HOME/config`.
      
      This patch adds a more sensible approach to documentation generation
      via haddock. Also enabling `new-haddock` to generate documentation for
      single components instead whole packages.
      
      The behaviour works like this:
      
          - Setting `documentation: true` or passing
            `--enable-documentation` to cabal-install enable documentation
            for any component in the build plan honoring the respective
            flags for tests, benchmarks, exes, foreignlibs, etc.
      
          - Invoking new-haddock with a target selector will make sure
            the respective flags for "second class" doc targets are set
            correctly. E.g.
      
            $ new-haddock tests
      
            Will generate documentation for the testsuite of your package
            event if you have `tests: false` in your haddock section.
      4466310e
  2. Mar 20, 2018
  3. Mar 16, 2018
  4. Mar 13, 2018
  5. Mar 11, 2018
  6. Mar 10, 2018
  7. Mar 09, 2018
  8. Mar 08, 2018
  9. Mar 07, 2018
  10. Mar 06, 2018
  11. Mar 05, 2018
  12. Mar 04, 2018
    • Herbert Valerio Riedel's avatar
      Update lower bounds in lib:Cabal · 87c05e60
      Herbert Valerio Riedel authored
      This uses GHC 7.4 as a reference; i.e. we consider
      the versions of boot libraries of GHC 7.4.[12] as the
      lower bound we support.
      
      Specifically, w/ GHC 7.4.1, these are the direct dependencies
      the cabal solver will come up with (when also forcing
      `mtl` to its lower bound):
      
        array-0.4.0.0
        base-4.5.0.0
        binary-0.5.1.0
        bytestring-0.9.2.1
        containers-0.4.2.1
        deepseq-1.3.0.0
        directory-1.1.0.2
        filepath-1.3.0.0
        ghc-prim-0.2.0.0
        mtl-2.1
        old-time-1.1.0.0
        parsec-3.1.13.0
        pretty-1.1.1.0
        process-1.1.0.1
        text-1.2.3.0
        time-1.4
        transformers-0.3.0.0
        unix-2.5.1.0
      
      (cherry picked from commit 2b73e706)
      87c05e60
    • Herbert Valerio Riedel's avatar
      Use fmap instead of <$> to avoid missing import for pre-AMP `base` · 2dffbbbf
      Herbert Valerio Riedel authored
      (cherry picked from commit 80f3e714)
      2dffbbbf
Loading