shake: ensure hakyll-std's required libs are up to date
This commit is contained in:
parent
11c2ce1d96
commit
5a58298ee3
3
Shake.hs
3
Shake.hs
@ -252,7 +252,8 @@ main = do
|
|||||||
hakyllstd %> \out -> do
|
hakyllstd %> \out -> do
|
||||||
let dir = takeDirectory out
|
let dir = takeDirectory out
|
||||||
need [out <.> "hs", dir </> "TableOfContents.hs"] -- XXX hard-coded dep
|
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
|
-- cleanup
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user