#!/bin/bash | |
"$(git rev-parse --show-toplevel)/gen/regenerate-meson" | |
GIT_STATUS="$(git status --porcelain --untracked-files)" | |
if [ -n "$GIT_STATUS" ]; then | |
echo "git status is not clean after running regenerate-meson!" | |
echo | |
echo "$GIT_STATUS" | |
exit 1 | |
fi |