packages feed

apply-refact-0.9.1.0: apply-refact.cabal

cabal-version:       2.4

name:                apply-refact
version:             0.9.1.0
synopsis:            Perform refactorings specified by the refact library.
description:         Perform refactorings specified by the refact library. It is primarily used with HLint's --refactor flag.
license:             BSD-3-Clause
license-file:        LICENSE
author:              Matthew Pickering
maintainer:          matthewtpickering@gmail.com
-- copyright:
category:            Development
homepage:            https://github.com/mpickering/apply-refact
bug-reports:         https://github.com/mpickering/apply-refact/issues
build-type:          Simple
extra-source-files:  CHANGELOG
                   , README.md
                   , tests/examples/*.hs
                   , tests/examples/*.hs.refact
                   , tests/examples/*.hs.expected
tested-with:         GHC == 8.10.3, GHC == 8.8.4, GHC == 8.6.5


source-repository head
  type:     git
  location: https://github.com/mpickering/apply-refact.git

library
  exposed-modules:   Refact.Utils
                   , Refact.Apply
                   , Refact.Fixity
                   , Refact.Internal
  GHC-Options: -Wall
  build-depends: base >=4.12 && < 5
               , refact >= 0.2
               , ghc-exactprint >= 0.6.3.3
               , ghc >= 8.6
               , ghc-boot-th
               , containers >= 0.6.0.1 && < 0.7
               , extra >= 1.7.3
               , syb >= 0.7.1
               , process >= 1.6
               , transformers >= 0.5.6.2 && < 0.6
               , filemanip >= 0.3.6.3 && < 0.4
               , uniplate >= 1.6.13
               , unix-compat >= 0.5.2
               , directory >= 1.3
               , uniplate >= 1.6.13
  hs-source-dirs:      src
  default-language:    Haskell2010

executable refactor
  main-is: Main.hs
  other-modules:
                 Paths_apply_refact
                 Refact.Apply
                 Refact.Fixity
                 Refact.Internal
                 Refact.Options
                 Refact.Run
                 Refact.Utils
  autogen-modules:
                 Paths_apply_refact
  hs-source-dirs:      src
  default-language: Haskell2010
  ghc-options: -Wall -fno-warn-unused-do-bind
  build-depends: base
               , refact
               , ghc-exactprint
               , ghc
               , ghc-boot-th
               , containers
               , extra
               , syb
               , process
               , directory
               , optparse-applicative >= 0.15.1.0
               , filemanip
               , unix-compat
               , filepath
               , transformers
               , uniplate

Test-Suite test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests, src
  main-is:             Test.hs
  other-modules:
                 Paths_apply_refact
                 Refact.Apply
                 Refact.Fixity
                 Refact.Internal
                 Refact.Options
                 Refact.Run
                 Refact.Utils
  GHC-Options:         -threaded
  Default-language:    Haskell2010
  Build-depends:       tasty
                     , tasty-golden
                     , tasty-expected-failure
                     , base
               , refact
               , ghc-exactprint
               , ghc
               , ghc-boot-th
               , containers
               , extra
               , syb
               , process
               , directory
               , optparse-applicative
               , filemanip
               , unix-compat
               , filepath
               , silently
               , transformers
               , uniplate