From 5a58298ee3dcd99e1803257074d402891a1b3e12 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 9 Aug 2016 18:28:25 -0700 Subject: [PATCH] shake: ensure hakyll-std's required libs are up to date --- Shake.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shake.hs b/Shake.hs index 2c80c7ef3..fc46f7b2a 100755 --- a/Shake.hs +++ b/Shake.hs @@ -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