1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 05:22:40 +02:00
Files
gimp/tools/check-gimp-data.py

9 lines
330 B
Python
Raw Permalink Normal View History

#!/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()))