Add (guix diagnostics).
authorLudovic Courtès <ludo@gnu.org>
Mon, 3 Jun 2019 20:58:36 +0000 (22:58 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 3 Jun 2019 21:18:47 +0000 (23:18 +0200)
commit1b5ee3bdaacf665ad1e7c6142122389fd7033ea2
treef93c155880b48488c1d68df602cf10ec1fa82dbc
parentee2691fa33f117bcf51b148b81bb8bc4e7b13a58
Add (guix diagnostics).

* guix/ui.scm (warning, info, report-error, leave)
(location->string, guix-warning-port, program-name)
(highlight-argument, %highlight-argument, define-diagnostic)
(%warning-color, %info-color, %error-color)
(print-diagnostic-prefix): Move to...
* guix/diagnostics.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
Makefile.am
guix/diagnostics.scm [new file with mode: 0644]
guix/ui.scm