Kévin Commaille
7d849ffdf4
Add checks for Blueprint files
...
To the pre-commit checks, we add the checks about translatable strings,
as well as the check about sorting in blp-resources.in.
We also run `blueprint-compiler format` in CI to make sure that we have
consistent formatting.
7 months ago
Kévin Commaille
e9b4ffa5b0
ci: Check Rust dependencies with cargo-deny
1 year ago
Guillaume Girol
7ce6d404e8
hooks: do not assume location of bash
...
On NixOS (and BSD) bash is not at /bin/bash.
Change the shebang to use bash from PATH.
1 year ago
Alexandre Franke
091b55fc8a
hook: check for unused deps with machete
1 year ago
Kévin Commaille
b6c719e920
ci: Move scripts/checks.sh to hooks
...
Avoids having 2 folders with a single file in it.
2 years ago
Alexandre Franke
ff9dcb6ce1
strings: harmonize term for failures
2 years ago
Kévin Commaille
e509cb2328
chore: Update URLs pointing to Gitlab repo
2 years ago
Kévin Commaille
d13b03a85e
misc: Put UI files next to the corresponding Rust files
3 years ago
Kévin Commaille
960c74c21d
ci: Sort Cargo.toml and add a check for it
3 years ago
Kévin Commaille
a762c04ffc
ci: Make checks use POTFILES.skip instead of a hardcoded list
4 years ago
Julian Sparber
047e4076c1
scripts: Don't check removed files
4 years ago
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.
4 years ago
Julian Sparber
61dedcb7be
scripts: Run checks only on staged files
...
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/935
4 years ago
Kévin Commaille
5de88e83ff
i18n: Add formatting i18n methods compatible with xgettext
4 years ago
Julian Sparber
26d325a318
checks: Set locale to C
4 years ago
Kévin Commaille
3abd9fde87
checks: Use stricter rustfmt rules
4 years ago
Kévin Commaille
4f55a4a460
scripts: Add check for resources.gresource.xml
4 years ago
Kévin Commaille
04ec63a31d
scripts: Add check for POTFILES
4 years ago
Kévin Commaille
2c919934db
scripts: Add check for spelling mistakes
4 years ago
Kévin Commaille
9f4ad6fcbf
scripts: Reorganize checks and prettify output
4 years ago
Kévin Commaille
7f790a854f
ci: Make CI use same checks as pre-commit hook
4 years ago
Kévin Commaille
a53b20bfab
pre-commit: Export logic to separate script
4 years ago
Giuseppe De Palma
19f9a911d8
Remove bashism from git pre-commit hook
5 years ago
Alejandro Domínguez
49dab8eeaa
Init with GTK Rust Template
5 years ago