2019-05-17 17:32:51 +03:00
|
|
|
cabal-version: 2.4
|
2019-02-23 16:02:45 +03:00
|
|
|
name: shellmet
|
2021-03-23 15:45:07 +03:00
|
|
|
version: 0.0.4.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>
|
2021-03-23 17:50:39 +03:00
|
|
|
copyright: 2019-2021 Kowainik
|
2019-02-23 16:02:45 +03:00
|
|
|
category: Shell, Command Line
|
|
|
|
build-type: Simple
|
|
|
|
extra-doc-files: README.md
|
2019-09-28 14:45:00 +03:00
|
|
|
CHANGELOG.md
|
|
|
|
tested-with: GHC == 8.2.2
|
|
|
|
GHC == 8.4.4
|
2019-05-17 17:32:51 +03:00
|
|
|
GHC == 8.6.5
|
2020-08-31 14:50:27 +03:00
|
|
|
GHC == 8.8.4
|
2021-03-23 15:45:07 +03:00
|
|
|
GHC == 8.10.4
|
|
|
|
GHC == 9.0.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
|
2021-03-23 15:45:07 +03:00
|
|
|
build-depends: base >= 4.10.1.0 && < 4.16
|
2019-02-23 16:02:45 +03:00
|
|
|
|
|
|
|
ghc-options: -Wall
|
|
|
|
-Wcompat
|
|
|
|
-Widentities
|
2020-05-07 20:11:49 +03:00
|
|
|
-Wincomplete-uni-patterns
|
|
|
|
-Wincomplete-record-updates
|
2019-02-23 16:02:45 +03:00
|
|
|
-Wredundant-constraints
|
|
|
|
-fhide-source-paths
|
2020-05-07 20:11:49 +03:00
|
|
|
if impl(ghc >= 8.4)
|
|
|
|
ghc-options: -Wmissing-export-lists
|
|
|
|
-Wpartial-fields
|
|
|
|
if impl(ghc >= 8.8)
|
|
|
|
ghc-options: -Wmissing-deriving-strategies
|
|
|
|
-Werror=missing-deriving-strategies
|
|
|
|
if impl(ghc >= 8.10)
|
|
|
|
ghc-options: -Wunused-packages
|
2019-02-23 16:02:45 +03:00
|
|
|
|
|
|
|
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
|
2020-05-07 20:11:49 +03:00
|
|
|
import: common-options
|
|
|
|
if os(windows)
|
|
|
|
buildable: False
|
2019-02-23 17:53:06 +03:00
|
|
|
main-is: README.lhs
|
2020-05-07 20:11:49 +03:00
|
|
|
build-depends: shellmet
|
2019-02-23 17:53:06 +03:00
|
|
|
, text
|
|
|
|
|
|
|
|
build-tool-depends: markdown-unlit:markdown-unlit
|
2020-05-07 20:11:49 +03:00
|
|
|
ghc-options: -pgmL markdown-unlit
|
2019-02-23 17:53:06 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
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
|