2019-05-17 17:32:51 +03:00
|
|
|
cabal-version: 2.4
|
2019-02-23 16:02:45 +03:00
|
|
|
name: shellmet
|
2019-08-29 07:51:16 +03:00
|
|
|
version: 0.0.3.0
|
2019-02-23 16:02:45 +03:00
|
|
|
synopsis: Out of the shell solution for scripting in Haskell
|
2019-02-23 17:07:59 +03:00
|
|
|
description: Shellmet provides easy and convenient way to call shell commands from Haskell programs
|
2019-02-23 16:02:45 +03:00
|
|
|
homepage: https://github.com/kowainik/shellmet
|
|
|
|
bug-reports: https://github.com/kowainik/shellmet/issues
|
|
|
|
license: MPL-2.0
|
|
|
|
license-file: LICENSE
|
2019-05-17 17:32:51 +03:00
|
|
|
author: Dmitrii Kovanikov
|
|
|
|
maintainer: Kowainik <xrom.xkov@gmail.com>
|
2019-02-23 16:02:45 +03:00
|
|
|
copyright: 2019 Kowainik
|
|
|
|
category: Shell, Command Line
|
|
|
|
build-type: Simple
|
|
|
|
extra-doc-files: README.md
|
|
|
|
, CHANGELOG.md
|
2019-08-29 07:51:16 +03:00
|
|
|
tested-with: GHC == 8.4.4
|
2019-05-17 17:32:51 +03:00
|
|
|
GHC == 8.6.5
|
2019-08-29 07:51:16 +03:00
|
|
|
GHC == 8.8.1
|
2019-02-23 16:02:45 +03:00
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/kowainik/shellmet.git
|
|
|
|
|
2019-05-17 17:32:51 +03:00
|
|
|
common common-options
|
2019-08-29 07:51:16 +03:00
|
|
|
build-depends: base >= 4.11 && < 4.14
|
2019-02-23 16:02:45 +03:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-05-17 17:32:51 +03:00
|
|
|
library
|
|
|
|
import: common-options
|
|
|
|
hs-source-dirs: src
|
|
|
|
exposed-modules: Shellmet
|
|
|
|
|
2019-07-30 13:32:16 +03:00
|
|
|
build-depends: process ^>= 1.6.1
|
2019-05-17 17:32:51 +03:00
|
|
|
, text ^>= 1.2.3
|
|
|
|
|
2019-02-23 17:53:06 +03:00
|
|
|
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
|
|
|
|
|
2019-02-23 16:02:45 +03:00
|
|
|
test-suite shellmet-test
|
2019-05-17 17:32:51 +03:00
|
|
|
import: common-options
|
2019-02-23 16:02:45 +03:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: test
|
|
|
|
main-is: Spec.hs
|
|
|
|
|
2019-05-17 17:32:51 +03:00
|
|
|
build-depends: shellmet
|
2019-02-23 16:02:45 +03:00
|
|
|
|
2019-05-17 17:32:51 +03:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
2019-07-30 13:32:16 +03:00
|
|
|
|
|
|
|
test-suite shellmet-doctest
|
|
|
|
import: common-options
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: test
|
|
|
|
main-is: Doctest.hs
|
|
|
|
|
|
|
|
build-depends: doctest
|
|
|
|
, Glob
|
|
|
|
|
|
|
|
ghc-options: -threaded
|