From e43b85f10de09d371a380a5b7033ec892ef015e3 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 21 Oct 2024 08:00:00 +0000 Subject: ci/meson-build.sh: add a git status check * ci/meson-build.sh: Check that "git status" does not report any differences or untracked files. --- ci/meson-build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/meson-build.sh b/ci/meson-build.sh index 0b265218..c50bb7f2 100755 --- a/ci/meson-build.sh +++ b/ci/meson-build.sh @@ -46,3 +46,8 @@ meson compile -v -C build mkdir build/destdir DESTDIR=$(pwd)/build/destdir meson install -C build meson test -v -C build + +if git status --porcelain |grep '^?'; then + echo >&2 'git status reported untracked files' + exit 1 +fi -- cgit v1.2.3