packages feed

b9 0.5.17 → 0.5.18

raw patch · 2 files changed

+5/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ B9.ShellScript: renderScript :: Script -> String

Files

b9.cabal view
@@ -1,5 +1,5 @@ name:                b9-version:             0.5.17+version:             0.5.18  synopsis:            A tool and library for building virtual machine images. 
src/lib/B9/ShellScript.hs view
@@ -2,6 +2,7 @@ {-| Definition of 'Script' and functions to convert 'Script's to bash     scripts. -} module B9.ShellScript ( writeSh+                      , renderScript                       , emptyScript                       , CmdVerbosity (..)                       , Cwd (..)@@ -156,6 +157,9 @@         i <- reader ctxIgnoreErrors         v <- reader ctxVerbosity         return [Cmd cmd args u c i v]++renderScript :: Script -> String+renderScript = toBash . toCmds  toBash :: [Cmd] -> String toBash cmds = intercalate "\n\n" $ bashHeader ++ (cmdToBash <$> cmds)