diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-10-21 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-10-21 08:00:00 +0000 |
commit | e43b85f10de09d371a380a5b7033ec892ef015e3 (patch) | |
tree | c9a697d91b6a5d466ebe7060035d1a8297d11644 | |
parent | ae0e60d7fab3a717abaf1def429ba38482883a50 (diff) | |
download | pam-e43b85f10de09d371a380a5b7033ec892ef015e3.tar.gz pam-e43b85f10de09d371a380a5b7033ec892ef015e3.tar.bz2 pam-e43b85f10de09d371a380a5b7033ec892ef015e3.zip |
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.
-rwxr-xr-x | ci/meson-build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |