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 |
Kévin Commaille
|
cafc56e14a
|
hooks: Skip checks when missing a dependency in a non-interactive shell.
|
3 years ago |
Jaap Schouwenburg
|
8773fafff9
|
hooks: Fix shebang on pre-commit hook
The pre-commit hook uses features that are not defined in the POSIX
shell. Fix the shebang so that it is correctly identified as a bash
script.
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1111>
|
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
|
627553d415
|
pre-commit: Prettify output
|
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 |