1*f6bd604fSPatrick Williams#!/bin/bash
2*f6bd604fSPatrick Williams
3*f6bd604fSPatrick Williams$(git rev-parse --show-toplevel)/gen/regenerate-meson
4*f6bd604fSPatrick Williams
5*f6bd604fSPatrick WilliamsGIT_STATUS="$(git status --porcelain --untracked-files)"
6*f6bd604fSPatrick Williamsif [ -n "$GIT_STATUS" ]; then
7*f6bd604fSPatrick Williams    echo "git status is not clean after running regenerate-meson!"
8*f6bd604fSPatrick Williams    echo
9*f6bd604fSPatrick Williams    echo "$GIT_STATUS"
10*f6bd604fSPatrick Williams    exit 1
11*f6bd604fSPatrick Williamsfi
12