packages feed

module-management-0.17.2: module-management.cabal

Name:               module-management
Version:            0.17.2
Synopsis:           Clean up module imports, split and merge modules
Description:        Clean up module imports, split and merge modules.
Homepage:           http://src.seereason.com/module-management
License:            BSD3
Author:             David Fox
Maintainer:         David Fox <dsf@seereason.com>
Category:           Editor, Haskell, IDE
Stability:          experimental
Build-type:         Simple
Cabal-version:      >=1.8
Extra-Source-Files: testdata.tar.gz, debian/changelog, scripts/CleanModules.hs, scripts/CLI/Cabal.hs, scripts/CLI/Cabal/Instances.hs, scripts/CLI/HaskelineTransAdapter.hs

Flag build-tests
  Description: build the test executable
  Default: True

Library
  ghc-Options:      -Wall -O2
  Exposed-Modules:
    Language.Haskell.Modules,
    Language.Haskell.Modules.Common,
    Language.Haskell.Modules.Fold,
    Language.Haskell.Modules.Imports,
    Language.Haskell.Modules.Merge,
    Language.Haskell.Modules.ModuVerse,
    Language.Haskell.Modules.Params,
    Language.Haskell.Modules.SourceDirs,
    Language.Haskell.Modules.Split,
    Language.Haskell.Modules.Util.DryIO,
    Language.Haskell.Modules.Util.QIO,
    Language.Haskell.Modules.Util.SrcLoc,
    Language.Haskell.Modules.Util.Symbols,
    Language.Haskell.Modules.Util.Temp,
    Language.Haskell.Modules.Util.Test
  Other-Modules:
    Tests.Fold,
    Tests.Imports,
    Tests.Merge,
    Tests.Split
    Tests.SrcLoc
    Tests.Symbols

  Build-Depends:
    applicative-extras,
    base >= 4 && < 5,
    bytestring,
    Cabal,
    containers,
    data-default,
    directory,
    filepath,
    haskell-src-exts,
    HUnit,
    lifted-base,
    monad-control,
    mtl,
    pretty,
    process,
    pureMD5,
    set-extra >= 1.3.1,
    syb,
    system-fileio,
    temporary

Executable hmm
  Main-is: CLI.hs
  Hs-source-dirs: scripts
  Build-Depends:
    base,
    containers,
    data-default,
    directory,
    filepath,
    haskell-src-exts,
    HUnit,
    lifted-base,
    module-management,
    monad-control,
    mtl,
    process,
    set-extra,
    syb,
    temporary,
    haskeline == 0.7.*,
    transformers-base,
    Cabal,
    cmdargs,
    lens

  -- This prevents one of two failures: either a GHC out of memory error,
  -- or an out of simplifier ticks error:
  -- ghc: panic! (the 'impossible' happened)
  --   (GHC version 7.6.3 for x86_64-unknown-linux):
  -- 	Simplifier ticks exhausted
  --     When trying RuleFired Class op pure
  --     To increase the limit, use -fsimpl-tick-factor=N (default 100)
  --     If you need to do this, let GHC HQ know, and what factor you needed
  --     To see detailed counts use -ddump-simpl-stats
  --     Total ticks: 1186241
  ghc-options: -O0

Executable tests
  Main-is: Tests.hs
  if flag (build-tests)
    Buildable: True
    Build-Depends:
      ansi-wl-pprint,
      base,
      bytestring,
      Cabal,
      containers,
      data-default,
      debian,
      directory,
      Extra,
      filepath,
      HUnit,
      haskell-src-exts,
      monad-control,
      module-management,
      lifted-base,
      mtl,
      process,
      process-progress,
      pureMD5,
      regex-compat,
      set-extra,
      syb,
      system-fileio,
      temporary
  else
    Buildable: False