🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit ce319c22b4b0fc4a4504591061d8053d21049d92
Parent: a275813b2d96a63cd91a32e162afc7148606386a
Author: mcol <mcol@posteo.net>
Date: 2021-11-21 12:04:32 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-11-21 12:04:32 +0000

Print what's going on more nicely

src/Repositories.hs Modified

@@ -212,6 +212,6 @@
     let output' = output </> category target </> identify target
     exists <- doesFileExist output'
     when (force || not exists) $ do
-        print output'
+        putStrLn $ "Writing " <> output'
         let scope' = scope <> HashMap.fromList [(pack . category $ target, toGVal target)]
         generate output' scope' template