Commit Graph

7 Commits

Author SHA1 Message Date
Kévin Commaille cafc56e14a
hooks: Skip checks when missing a dependency in a non-interactive shell. 2022-10-28 21:18:39 +02:00
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>
2022-07-05 08:37:12 +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 627553d415
pre-commit: Prettify output 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
Giuseppe De Palma 19f9a911d8 Remove bashism from git pre-commit hook 2021-06-22 07:03:29 +00:00
Alejandro Domínguez 49dab8eeaa Init with GTK Rust Template 2021-02-04 20:46:36 +01:00