packages feed

nsis 0.2.1 → 0.2.2

raw patch · 3 files changed

+5/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Development/NSIS/Library.hs view
@@ -2,8 +2,10 @@  module Development.NSIS.Library where +import Control.Monad import Development.NSIS.Sugar + -- | Replace one string with another string, in a target string. As some examples: -- -- > strReplace "t" "XX" "test" %== "XXesXX"@@ -41,7 +43,8 @@  -- | Write a file comprising of a set of lines. writeFileLines :: Exp FilePath -> [Exp String] -> Action ()-writeFileLines a b = writeFile' a $ strUnlines b+writeFileLines a b = withFile' ModeWrite a $ \hdl ->+    forM_ b $ \s -> fileWrite hdl $ s & "\r\n"   infixr 3 %&&
Examples/Example1.hs view
@@ -30,7 +30,6 @@     -- Pages          page Directory-    page $ License "../neil/todo.txt"     page InstFiles      ---------------------------------
nsis.cabal view
@@ -1,7 +1,7 @@ cabal-version:      >= 1.6 build-type:         Simple name:               nsis-version:            0.2.1+version:            0.2.2 -- license is GPL v2 only license:            GPL license-file:       LICENSE