shelly 1.6.1 → 1.6.1.1
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- shelly.cabal +1/−1
- src/Shelly.hs +2/−2
shelly.cabal view
@@ -1,6 +1,6 @@ Name: shelly -Version: 1.6.1+Version: 1.6.1.1 Synopsis: shell-like (systems) programming in Haskell Description: Shelly provides convenient systems programming in Haskell,
src/Shelly.hs view
@@ -1051,13 +1051,13 @@ -- -- > git = command1 "git" []; git "pull" ["origin", "master"] command1 :: FilePath -> [Text] -> Text -> [Text] -> Sh Text-command1 com args one_arg more_args = run com ([one_arg] ++ args ++ more_args)+command1 com args one_arg more_args = run com (args ++ [one_arg] ++ more_args) -- | bind some arguments to run for re-use, and require 1 argument. Example: -- -- > git_ = command1_ "git" []; git "pull" ["origin", "master"] command1_ :: FilePath -> [Text] -> Text -> [Text] -> Sh ()-command1_ com args one_arg more_args = run_ com ([one_arg] ++ args ++ more_args)+command1_ com args one_arg more_args = run_ com (args ++ [one_arg] ++ more_args) -- | the same as 'run', but return @()@ instead of the stdout content -- stdout will be read and discarded line-by-line