gstreamer/scripts/git-hooks/pre-commit.hook
Xavier Claessens a54568a93c pre-commit: Advice to install pre-commit in deprecation message
Running "meson setup" again is not enough, pre-commit must be installed.
Meson already prints a warning but that's not fatal and easy to miss.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8438>
2025-02-17 08:31:36 +00:00

7 lines
262 B
Bash
Executable file

#!/bin/sh
#
# Check that the code follows a consistant code style
#
echo "This hook is deprecated, please run 'meson setup' to update your configuration"
echo "You first need to install pre-commit with your package manager or python3 -m pip install pre-commit"