packages feed

checkmate-0.2.1: checkmate.cabal

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

name:           checkmate
version:        0.2.1
synopsis:       Generate checklists relevant to a given patch
category:       Development
stability:      alpha
homepage:       https://github.com/spoqa/checkmate#readme
bug-reports:    https://github.com/spoqa/checkmate/issues
author:         Hong Minhee
maintainer:     hong.minhee@gmail.com
copyright:      (c) 2017 Hong Minhee
license:        GPL-3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

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

source-repository head
  type: git
  location: https://github.com/spoqa/checkmate

flag static
  description: Static link
  manual: True
  default: False

library
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-incomplete-uni-patterns
  build-depends:
      base >= 4.7 && < 5
    , diff-parse >= 0.2.1 && < 0.3.0
    , directory == 1.3.*
    , filepath >= 1.4.1.1 && < 2.0.0
    , megaparsec >= 5.3.1 && < 5.4.0
    , range >= 0.1.2 && < 0.2.0
    , text == 1.*
    , containers >= 0.5.7.1 && < 0.6.0.0
    , monad-parallel >= 0.7.2.2 && < 0.8.0.0
  exposed-modules:
      Checkmate.Check
      Checkmate.Diff
      Checkmate.Discover
      Checkmate.Parser.CheckFile
      Checkmate.Parser.IndentBlock
      Checkmate.Renderer
  default-language: Haskell2010

executable checkmate
  main-is: Main.hs
  hs-source-dirs:
      app
  ghc-options: -Wall
  build-depends:
      base >= 4.7 && < 5
    , diff-parse >= 0.2.1 && < 0.3.0
    , directory == 1.3.*
    , filepath >= 1.4.1.1 && < 2.0.0
    , megaparsec >= 5.3.1 && < 5.4.0
    , range >= 0.1.2 && < 0.2.0
    , text == 1.*
    , checkmate
    , github == 0.16.*
    , optparse-applicative >= 0.13.2.0 && < 0.15.0.0
  if flag(static)
    ghc-options: -fwarn-incomplete-uni-patterns -threaded -rtsopts -with-rtsopts=-N -static -optl-static -optl-pthread -optc-Os -fPIC
  else
    ghc-options: -fwarn-incomplete-uni-patterns -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010

test-suite hlint
  type: exitcode-stdio-1.0
  main-is: HLint.hs
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base >= 4.7 && < 5
    , diff-parse >= 0.2.1 && < 0.3.0
    , directory == 1.3.*
    , filepath >= 1.4.1.1 && < 2.0.0
    , megaparsec >= 5.3.1 && < 5.4.0
    , range >= 0.1.2 && < 0.2.0
    , text == 1.*
    , hlint >= 2.0.9 && < 3
  other-modules:
      Checkmate.CheckSpec
      Checkmate.DiffSpec
      Checkmate.DiscoverSpec
      Checkmate.Parser.CheckFileSpec
      Checkmate.Parser.IndentBlockSpec
      Checkmate.RendererSpec
      Spec
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -fno-warn-incomplete-uni-patterns -fno-warn-missing-signatures -rtsopts -threaded -with-rtsopts=-N -Wno-orphans
  build-depends:
      base >= 4.7 && < 5
    , diff-parse >= 0.2.1 && < 0.3.0
    , directory == 1.3.*
    , filepath >= 1.4.1.1 && < 2.0.0
    , megaparsec >= 5.3.1 && < 5.4.0
    , range >= 0.1.2 && < 0.2.0
    , text == 1.*
    , bytestring >= 0.10.8.1 && < 0.11
    , checkmate
    , file-embed >= 0.0.10 && < 0.1.0
    , hspec >= 2.4.4 && < 3.0.0
    , hspec-megaparsec >= 0.3.1 && < 0.4.0
    , interpolatedstring-perl6 == 1.*
    , QuickCheck >= 2.9.2 && < 3.0.0
    , quickcheck-text >= 0.1.2.1 && < 0.2.0.0
    , temporary >= 1.2.1 && < 1.3.0.0
  other-modules:
      Checkmate.CheckSpec
      Checkmate.DiffSpec
      Checkmate.DiscoverSpec
      Checkmate.Parser.CheckFileSpec
      Checkmate.Parser.IndentBlockSpec
      Checkmate.RendererSpec
      HLint
  default-language: Haskell2010