diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2022-07-20 19:11:21 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-08 11:22:31 +0200 |
| commit | 5817e222faf46f76fbdb66ba8fd6c8cd643aefb5 (patch) | |
| tree | a5381405268e393c65f24f532a38d01635412aad /Makefile.am | |
| parent | bc3eaf9d83c5f227681f43bbc70067d92fc72193 (diff) | |
style: Move reader and printer to (guix read-print).
* guix/scripts/style.scm (<comment>, read-with-comments)
(vhashq, %special-forms, %newline-forms, prefix?)
(special-form-lead, newline-form?, escaped-string)
(string-width, canonicalize-comment, pretty-print-with-comments)
(object->string*): Move to...
* guix/read-print.scm: ... here. New file.
* guix/scripts/import.scm: Adjust accordingly.
* tests/style.scm: Move 'test-pretty-print' and tests to...
* tests/read-print.scm: ... here. New file.
* Makefile.am (MODULES): Add 'guix/read-print.scm'.
(SCM_TESTS): Add 'tests/read-print.scm'.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index e5363140fb7..2cda20e61c1 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -130,6 +130,7 @@ MODULES = \ | |||
| 130 | guix/cve.scm \ | 130 | guix/cve.scm \ |
| 131 | guix/workers.scm \ | 131 | guix/workers.scm \ |
| 132 | guix/least-authority.scm \ | 132 | guix/least-authority.scm \ |
| 133 | guix/read-print.scm \ | ||
| 133 | guix/ipfs.scm \ | 134 | guix/ipfs.scm \ |
| 134 | guix/platform.scm \ | 135 | guix/platform.scm \ |
| 135 | guix/platforms/arm.scm \ | 136 | guix/platforms/arm.scm \ |
| @@ -524,6 +525,7 @@ SCM_TESTS = \ | |||
| 524 | tests/profiles.scm \ | 525 | tests/profiles.scm \ |
| 525 | tests/publish.scm \ | 526 | tests/publish.scm \ |
| 526 | tests/pypi.scm \ | 527 | tests/pypi.scm \ |
| 528 | tests/read-print.scm \ | ||
| 527 | tests/records.scm \ | 529 | tests/records.scm \ |
| 528 | tests/scripts.scm \ | 530 | tests/scripts.scm \ |
| 529 | tests/search-paths.scm \ | 531 | tests/search-paths.scm \ |
