Commit graph

13 commits

Author SHA1 Message Date
Kévin Commaille
a762c04ffc ci: Make checks use POTFILES.skip instead of a hardcoded list 2022-09-24 15:24:00 +00:00
Julian Sparber
047e4076c1 scripts: Don't check removed files 2022-08-03 12:31:38 +02:00
Kévin Commaille
808f4b5a26 ci: Fix pre-commit hook
Because rustfmt isn't aware of the cargo manifest, it would complain that
we use async methods with the rust 2015 version.
2022-05-21 09:05:29 +00:00
Julian Sparber
61dedcb7be scripts: Run checks only on staged files
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/935
2022-05-19 10:56:46 +00:00
Kévin Commaille
5de88e83ff
i18n: Add formatting i18n methods compatible with xgettext 2022-04-06 19:17:39 +02:00
Julian Sparber
26d325a318 checks: Set locale to C 2022-02-01 15:35:00 +00:00
Kévin Commaille
3abd9fde87
checks: Use stricter rustfmt rules 2022-01-20 09:08:11 +01:00
Kévin Commaille
4f55a4a460
scripts: Add check for resources.gresource.xml 2022-01-19 23:33:40 +01:00
Kévin Commaille
04ec63a31d
scripts: Add check for POTFILES 2022-01-19 23:33:40 +01:00
Kévin Commaille
2c919934db
scripts: Add check for spelling mistakes 2022-01-19 23:33:40 +01:00
Kévin Commaille
9f4ad6fcbf
scripts: Reorganize checks and prettify output 2022-01-19 23:33:39 +01:00
Kévin Commaille
7f790a854f
ci: Make CI use same checks as pre-commit hook 2022-01-19 23:33:39 +01:00
Kévin Commaille
a53b20bfab
pre-commit: Export logic to separate script 2022-01-19 23:33:38 +01:00