diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-05-05 17:34:01 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-05-18 20:01:32 +0200 |
commit | ba5da5125a81307500982517e2f458d57b024668 (patch) | |
tree | 3497f027375eb532b004b838a0c88ed4dfceb3f0 /tests/size.scm | |
parent | c1007786fdec6c749887bbd9bf8f46ff27e69055 (diff) |
style: Add 'arguments' styling rule.
* guix/scripts/style.scm (unquote->ungexp, gexpify-argument-value)
(quote-argument-value, gexpify-argument-tail)
(gexpify-package-arguments): New procedures.
(%gexp-keywords): New variable.
(%options): Add "arguments" case for 'styling-procedure.
(show-stylings): Update.
* tests/style.scm ("gexpify arguments, already gexpified")
("gexpify arguments, non-gexp arguments, margin comment")
("gexpify arguments, phases and flags")
("gexpify arguments, append arguments")
("gexpify arguments, substitute-keyword-arguments")
("gexpify arguments, append substitute-keyword-arguments"): New tests.
* doc/guix.texi (package Reference): For 'arguments', add compatibility
note and link to 'guix style'.
(Invoking guix style): Document the 'arguments' styling rule.
Diffstat (limited to 'tests/size.scm')
0 files changed, 0 insertions, 0 deletions