mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-05 21:02:42 +02:00
The build dir looks "prettier" without the meson subdir. With prettier I mean: just the OSes subdirs.
9 lines
330 B
Python
9 lines
330 B
Python
#!/usr/bin/env python3
|
|
import os
|
|
import subprocess
|
|
from pathlib import Path
|
|
|
|
os.chdir(Path(os.getenv("MESON_SOURCE_ROOT",".")))
|
|
result = subprocess.run(['git', 'status', '--untracked-files=no', '--short', '--ignore-submodules=dirty', 'gimp-data'], capture_output=True, text=True, check=True)
|
|
exit(len(result.stdout.splitlines()))
|