Skip to content
Permalink
Browse files

shake: be more verbose when updating changelogs

[ci skip]
  • Loading branch information...
simonmichael committed Jul 25, 2019
1 parent 49523b1 commit 11208222d47b4633026d94eff947e701390e7727
Showing with 6 additions and 2 deletions.
  1. +6 −2 Shake.hs
@@ -585,7 +585,9 @@ main = do
]
liftIO $ if dryrun
then putStr newcontent
else writeFile out newfile
else do
writeFile out newfile
putStrLn $ out ++ ": updated to " ++ headrev
)

-- [PKG/]CHANGES.md-finalise <- PKG/.version
@@ -609,7 +611,9 @@ main = do
date <- liftIO getCurrentDay
let (before, _:after) = break ("# " `isPrefixOf`) $ lines old
new = unlines $ before ++ ["# "++version++" "++show date] ++ after
liftIO $ writeFile out new
liftIO $ do
writeFile out new
putStrLn $ out ++ ": updated to " ++ version
)

-- VERSION NUMBERS

0 comments on commit 1120822

Please sign in to comment.
You can’t perform that action at this time.