diff --git a/ChangeLog.md b/ChangeLog.md index b941fa7..fec474a 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,8 @@ # Version history for simple-cmd +## 0.2.6 (2022-05-18) +- timeIO: print the duration in hours and minutes, not just seconds + ## 0.2.5 (2022-04-24) - cmdN: quote arguments with show - add timeIO: runs action and prints the time it took diff --git a/README.md b/README.md index 6e9b54d..f52b8ba 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ Other examples: gitBranch :: IO String grep_ pat file :: IO Bool sudo_ c args :: IO () +timeIO :: IO a -> IO a ``` See the library documentation for more details. diff --git a/simple-cmd.cabal b/simple-cmd.cabal index 45f1408..4cdad2b 100644 --- a/simple-cmd.cabal +++ b/simple-cmd.cabal @@ -1,12 +1,12 @@ name: simple-cmd -version: 0.2.5 +version: 0.2.6 synopsis: Simple String-based process commands description: Simple wrappers over System.Process (readProcess, readProcessWithExitCode, rawSystem, and createProcess). The idea is to provide some common idioms for calling out to commands from programs. For more advanced shell-scripting or streaming - use turtle, shelly, command, etc. + use turtle, shelly, shake, etc. license: BSD3 license-file: LICENSE author: Jens Petersen @@ -18,9 +18,8 @@ bug-reports: https://github.com/juhp/simple-cmd/issues build-type: Simple cabal-version: >=1.10 extra-source-files: README.md ChangeLog.md TODO -tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, - GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, - GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2 +tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, + GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2 source-repository head type: git