packages feed

shellmet-0.0.2.0: shellmet.cabal

cabal-version:       2.4
name:                shellmet
version:             0.0.2.0
synopsis:            Out of the shell solution for scripting in Haskell
description:         Shellmet provides easy and convenient way to call shell commands from Haskell programs
homepage:            https://github.com/kowainik/shellmet
bug-reports:         https://github.com/kowainik/shellmet/issues
license:             MPL-2.0
license-file:        LICENSE
author:              Dmitrii Kovanikov
maintainer:          Kowainik <xrom.xkov@gmail.com>
copyright:           2019 Kowainik
category:            Shell, Command Line
build-type:          Simple
extra-doc-files:     README.md
                   , CHANGELOG.md
tested-with:         GHC == 8.2.2
                     GHC == 8.4.4
                     GHC == 8.6.5

source-repository head
  type:                git
  location:            https://github.com/kowainik/shellmet.git

common common-options
  build-depends:       base >= 4.10.1.0 && < 4.13

  ghc-options:         -Wall
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wcompat
                       -Widentities
                       -Wredundant-constraints
                       -fhide-source-paths

  default-language:    Haskell2010
  default-extensions:  ConstraintKinds
                       DeriveGeneric
                       GeneralizedNewtypeDeriving
                       InstanceSigs
                       KindSignatures
                       LambdaCase
                       OverloadedStrings
                       RecordWildCards
                       ScopedTypeVariables
                       StandaloneDeriving
                       TupleSections
                       TypeApplications
                       ViewPatterns

library
  import:              common-options
  hs-source-dirs:      src
  exposed-modules:     Shellmet

  build-depends:       process ^>= 1.6.3
                     , text ^>= 1.2.3

executable readme
  main-is:             README.lhs
  build-depends:       base
                     , shellmet
                     , text

  build-tool-depends:  markdown-unlit:markdown-unlit
  ghc-options:         -Wall -pgmL markdown-unlit
  default-language:    Haskell2010

test-suite shellmet-test
  import:              common-options
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs

  build-depends:       shellmet

  ghc-options:         -threaded -rtsopts -with-rtsopts=-N