packages feed

hlint-test-0.1.0.0: hlint-test.cabal

-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: d8a8b74bab041063eae27ade979f8532d90699daa926933c6abab8fcb257ff38

name:           hlint-test
version:        0.1.0.0
synopsis:       Run hlint in test suite
description:    Allows you to write small  hlint test runner; so you will not forget to run hlint before pushing to master.
category:       test
homepage:       https://github.com/Siprj/hlint-test#readme
bug-reports:    https://github.com/Siprj/hlint-test/issues
author:         Tomáš Janoušek <tomi@nomi.cz>, Jan Šipr <sipr.jan@gmail.com>
maintainer:     Jan Šipr <sipr.jan@gmail.com>
copyright:      2017  Tomáš Janoušek, Jan Šipr
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    CHANGES.md
    README.md

source-repository head
  type: git
  location: https://github.com/Siprj/hlint-test

flag pedantic
  description: Pass additional warning flags and -Werror to GHC.
  manual: True
  default: False

library
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-tabs -fwarn-missing-import-lists -fwarn-implicit-prelude
  build-depends:
      base >=4.7 && <5
    , hlint >=2.0
  if flag(pedantic)
    ghc-options: -Werror
  exposed-modules:
      Test.HLint.Preprocessor
      Test.HLint.Run
  other-modules:
      Paths_hlint_test
  default-language: Haskell2010

executable hlint-test
  main-is: hlint-test.hs
  hs-source-dirs:
      driver
  ghc-options: -Wall -fwarn-tabs -fwarn-missing-import-lists -fwarn-implicit-prelude -threaded -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , hlint >=2.0
    , hlint-test
  if flag(pedantic)
    ghc-options: -Werror
  other-modules:
      Paths_hlint_test
  default-language: Haskell2010