Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
a564ed79
Commit
a564ed79
authored
2 years ago
by
Robert
Committed by
mergify-bot
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make bootstrap generation a bit quieter
- remove tee output - disable debug logging in cabal-bootstrap-gen by default
parent
67236d4a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
bootstrap/src/Main.hs
+7
-1
7 additions, 1 deletion
bootstrap/src/Main.hs
with
8 additions
and
2 deletions
Makefile
+
1
−
1
View file @
a564ed79
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
bootstrap/src/Main.hs
+
7
−
1
View file @
a564ed79
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment