[commit: packages/base] master: Modernize and refactor `base.cabal` (dfb52c3)

git at git.haskell.org git at git.haskell.org
Sat Sep 28 13:10:47 CEST 2013


Repository : ssh://git@git.haskell.org/base

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/dfb52c3d582a783ece57a33093f08968767827f1/base

>---------------------------------------------------------------

commit dfb52c3d582a783ece57a33093f08968767827f1
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Sep 28 11:10:23 2013 +0200

    Modernize and refactor `base.cabal`
    
     - removes the redundant `impl(ghc)` conditional
     - unifies the `exposed-modules` list
     - sorts lists alphabetically
     - convert to uniform `,`-less & line-oriented lists
       (helps reduce diff-noise in future)
     - remove obsolete `nhc98-options` field
     - avoid `{}`-style Cabal grammar
     - remove `extensions: CPP`
     - add `category` field to silence Cabal warning
     - add missing entries to `extra-source-files`
       (the source distribution wasn't buildable because of this!)
     - list all occuring `LANGUAGE` pragmas in `other-extensions`
     - explicitly declare `default-language: Haskell2010`
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

dfb52c3d582a783ece57a33093f08968767827f1
 base.cabal |  460 ++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 262 insertions(+), 198 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc dfb52c3d582a783ece57a33093f08968767827f1



More information about the ghc-commits mailing list