From 81c675f7b48c0ae9fd50a280e5554ff5fefefe61 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Sat, 10 Jan 2015 16:31:10 -0500 Subject: [PATCH] Fixed clay css output issue Added the --verbose=0 option when "cabal run gencss compact" is run from src/site.hs. This stops cabal from outputting compiler/success messages to the front of the generated css file. Signed-off-by: Collin J. Doering --- src/site.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site.hs b/src/site.hs index 65b5968..fd40e0b 100644 --- a/src/site.hs +++ b/src/site.hs @@ -132,7 +132,7 @@ main = do (_, hout, _, ph) <- createProcess $ shell "cabal build gencss" exitCode <- waitForProcess ph if exitCode == ExitSuccess - then readProcess "cabal" ["run", "gencss", "compact"] "" + then readProcess "cabal" ["run", "--verbose=0", "gencss", "compact"] "" else case hout of Nothing -> fail "Error running 'cabal build gencss'" Just hout' -> hGetContents hout' >>= fail)