diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-01-02 17:29:12 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-10 14:59:26 +0100 |
commit | c4fe13c294cc1e31dd8a49ce3981f603fb169e0a (patch) | |
tree | e5d5136d502ebfdc62e862d0f7b325d5bf86ef2b /README | |
parent | 6f892630ae4726297944fe34b3de4fb608caf66d (diff) | |
download | guix-patches-c4fe13c294cc1e31dd8a49ce3981f603fb169e0a.tar guix-patches-c4fe13c294cc1e31dd8a49ce3981f603fb169e0a.tar.gz |
style: Add '--styling' option.
* guix/scripts/style.scm (format-package-definition): New procedure.
(%options, show-help): Add "--styling".
(%default-options): Add 'styling-procedure'.
(guix-style): Honor it.
* tests/style.scm (with-test-package)
("input labels, 'safe' policy")
("input labels, 'safe' policy, nothing changed")
("input labels, margin comment")
("input labels, margin comment on long list")
("input labels, line comment")
("input labels, modify-inputs and margin comment"): Pass "-S inputs".
* etc/indent-code.el: Remove.
* doc/contributing.texi (Formatting Code): Mention "guix style" instead
of "etc/indent-code.el".
(Submitting Patches): Add item for "guix style".
* doc/guix.texi (Invoking guix style): Document "-S" and update.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions