diff --git a/src/site.hs b/src/site.hs index 08ee4df..17f9a7c 100644 --- a/src/site.hs +++ b/src/site.hs @@ -140,12 +140,12 @@ main = do rulesExtraDependencies [clayDeps] $ create ["default.css"] $ do route idRoute compile $ makeItem =<< (unsafeCompiler $ do - (_, hout, _, ph) <- createProcess $ shell "cabal build gencss" + (_, hout, _, ph) <- createProcess $ shell "stack build blog-rekahsoft-ca:gencss" exitCode <- waitForProcess ph if exitCode == ExitSuccess - then readProcess "cabal" ["run", "--verbose=0", "gencss", "compact"] "" + then readProcess "stack" ["exec", "gencss", "--", "compact"] "" else case hout of - Nothing -> fail "Error running 'cabal build gencss'" + Nothing -> fail "Error running 'stack build blog-rekahsoft-ca:gencss'" Just hout' -> hGetContents hout' >>= fail) rulesExtraDependencies [manifestDeps] $ create ["manifest.appcache"] $ do