Commit graph

4 commits

Author SHA1 Message Date
Chris Boesch
213d0712a5 replaced update-patches.py with update-patches.zig 2023-04-25 21:35:18 +02:00
Chris Boesch
cffbbff8bd replaced check-exercises.pu with check-exercises.zig 2023-04-25 12:13:58 +02:00
Manlio Perillo
c7697a4282 Ensure the patches are up-to-date and consistent
Add the update-patches.py tool.

Update all the patches, so that the files are up-to-date and use the
same patch file format.
2023-04-18 18:16:19 +02:00
Manlio Perillo
6b17a18893 Ensure the exercises use the canonical format
Add the check-exercises.py tool in the new tools directory.  It is used
to check that the exercises are correctly formatted, printing on stderr
the invalid ones and the diff in the unified format.

Update the exercises that don't use the canonical zig fmt format.

Update some patches that cause the generated zig file to be incorrectly
formatted.
2023-04-18 18:16:19 +02:00