Skip to content
Snippets Groups Projects
Commit a564ed79 authored by Robert's avatar Robert Committed by mergify-bot
Browse files

Make bootstrap generation a bit quieter

- remove tee output
- disable debug logging in cabal-bootstrap-gen by default
parent 67236d4a
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ bootstrap-json-%: phony
cp dist-newstyle/cache/plan.json bootstrap/linux-$*.plan.json
@# -v0 to avoid build output on stdout
cd bootstrap && cabal v2-run -v0 cabal-bootstrap-gen -- linux-$*.plan.json \
| python3 -m json.tool | tee linux-$*.json
| python3 -m json.tool > linux-$*.json
bootstrap-jsons: bootstrap-json-8.6.5 bootstrap-json-8.8.4 bootstrap-json-8.10.7
......
......@@ -214,8 +214,14 @@ instance A.ToJSON SrcType where
-- Utilities
-------------------------------------------------------------------------------
-- | Log some debug information to stderr.
--
-- Disabled by default to keep the output tidy, replace by
-- the version with 'hPutStrLn' when debugging.
--
info :: String -> IO ()
info msg = hPutStrLn stderr $ "INFO: " ++ msg
info _msg = return ()
-- info msg = hPutStrLn stderr $ "INFO: " ++ msg
die :: String -> IO a
die msg = do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment