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 <collin.doering@rekahsoft.ca>
This commit is contained in:
parent
7b08488815
commit
81c675f7b4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user