diff options
| author | Karthik Nayak <karthik.188@gmail.com> | 2025-04-23 10:15:39 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-23 10:36:42 -0700 |
| commit | 04a13ed8a7c07ef383f19adc16494ec481960bdb (patch) | |
| tree | 04524d03b19137a4be32e7370ed207538f43c01b /ci | |
| parent | meson: add support for 'hdr-check' (diff) | |
| download | git-04a13ed8a7c07ef383f19adc16494ec481960bdb.tar.gz git-04a13ed8a7c07ef383f19adc16494ec481960bdb.zip | |
makefile/meson: add 'check-headers' as alias for 'hdr-check'
The 'hdr-check' target in Meson and makefile is used to check if headers
can be compiled individually. The naming however isn't readable as 'hdr'
is not a common shortforme for 'header', neither is it an abbreviation.
Let's introduce 'check-headers' as an alternative target for 'hdr-check'
and add a `TODO` to deprecate the latter after 2 releases. Since this
is an internal tool, we can use a shorter deprecation cycle.
Change existing usage of 'hdr-check' in 'ci/run-static-analysis.sh' to
also use 'check-headers'.
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci')
| -rwxr-xr-x | ci/run-static-analysis.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/run-static-analysis.sh b/ci/run-static-analysis.sh index 0d51e5ce0e..60c175a094 100755 --- a/ci/run-static-analysis.sh +++ b/ci/run-static-analysis.sh @@ -26,7 +26,7 @@ then exit 1 fi -make hdr-check || +make check-headers || exit 1 make check-pot |
