shellmet 0.0.3.0 → 0.0.3.1
raw patch · 6 files changed
+37/−31 lines, 6 filesdep ~base
Dependency ranges changed: base
Files
- CHANGELOG.md +5/−0
- README.lhs +1/−1
- README.md +1/−1
- shellmet.cabal +20/−19
- src/Shellmet.hs +10/−6
- test/Spec.hs +0/−4
CHANGELOG.md view
@@ -3,6 +3,11 @@ `shellmet` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. +## 0.0.3.1 — May 7, 2020++* [#18](https://github.com/kowainik/shellmet/issues/18):+ Support GHC-8.10. Move from GHC-8.8.1 support to GHC-8.8.3.+ ## 0.0.3.0 — Sep 28, 2019 * [#10](https://github.com/kowainik/shellmet/issues/10):
README.lhs view
@@ -1,6 +1,6 @@ # shellmet -[](https://travis-ci.org/kowainik/shellmet)+[](https://github.com/kowainik/shellmet/actions) [](https://hackage.haskell.org/package/shellmet) [](http://stackage.org/lts/package/shellmet) [](http://stackage.org/nightly/package/shellmet)
README.md view
@@ -1,6 +1,6 @@ # shellmet -[](https://travis-ci.org/kowainik/shellmet)+[](https://github.com/kowainik/shellmet/actions) [](https://hackage.haskell.org/package/shellmet) [](http://stackage.org/lts/package/shellmet) [](http://stackage.org/nightly/package/shellmet)
shellmet.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: shellmet-version: 0.0.3.0+version: 0.0.3.1 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@@ -9,7 +9,7 @@ license-file: LICENSE author: Dmitrii Kovanikov maintainer: Kowainik <xrom.xkov@gmail.com>-copyright: 2019 Kowainik+copyright: 2019-2020 Kowainik category: Shell, Command Line build-type: Simple extra-doc-files: README.md@@ -17,22 +17,31 @@ tested-with: GHC == 8.2.2 GHC == 8.4.4 GHC == 8.6.5- GHC == 8.8.1+ GHC == 8.8.3+ GHC == 8.10.1 source-repository head type: git location: https://github.com/kowainik/shellmet.git common common-options- build-depends: base >= 4.10.1.0 && < 4.14+ build-depends: base >= 4.10.1.0 && < 4.15 ghc-options: -Wall- -Wincomplete-uni-patterns- -Wincomplete-record-updates -Wcompat -Widentities+ -Wincomplete-uni-patterns+ -Wincomplete-record-updates -Wredundant-constraints -fhide-source-paths+ 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 default-language: Haskell2010 default-extensions: ConstraintKinds@@ -58,24 +67,16 @@ , text ^>= 1.2.3 executable readme+ import: common-options+ if os(windows)+ buildable: False main-is: README.lhs- build-depends: base- , shellmet+ build-depends: shellmet , text build-tool-depends: markdown-unlit:markdown-unlit- ghc-options: -Wall -pgmL markdown-unlit+ ghc-options: -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 test-suite shellmet-doctest import: common-options
src/Shellmet.hs view
@@ -3,7 +3,12 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE TypeFamilies #-} -{- | This module contains neat utilities to be able to work with+{- |+Copyright: (c) 2019-2020 Kowainik+SPDX-License-Identifier: MPL-2.0+Maintainer: Kowainik <xrom.xkov@gmail.com>++This module contains neat utilities to be able to work with shell commands in generic and simple way using just string literals. >>> "echo" ["Hello", "World!"]@@ -12,10 +17,10 @@ -} module Shellmet- ( ($|)- , ($^)- , ($?)- ) where+ ( ($|)+ , ($^)+ , ($?)+ ) where import Control.Exception (catch) import Data.String (IsString (..))@@ -31,7 +36,6 @@ >>> "ls" ["-1", "test"] ⚙ ls -1 test Doctest.hs-Spec.hs -} instance (a ~ [Text], b ~ IO ()) => IsString (a -> b) where fromString :: String -> [Text] -> IO ()
− test/Spec.hs
@@ -1,4 +0,0 @@-module Main (main) where--main :: IO ()-main = putStrLn ("Test suite not yet implemented" :: String)