shake: ensure hakyll-std's required libs are up to date

This commit is contained in:
Simon Michael 2016-08-09 18:28:25 -07:00
parent 11c2ce1d96
commit 5a58298ee3

View File

@ -252,7 +252,8 @@ main = do
hakyllstd %> \out -> do
let dir = takeDirectory out
need [out <.> "hs", dir </> "TableOfContents.hs"] -- XXX hard-coded dep
cmd (Cwd dir) "stack ghc hakyll-std"
unit $ cmd (Cwd dir) "./hakyll-std.hs --version" -- ensure libs are up to date
cmd (Cwd dir) "stack ghc hakyll-std" -- compile for speed
-- cleanup