diff options
Diffstat (limited to 'hack')
-rwxr-xr-x | hack/tree_status.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hack/tree_status.sh b/hack/tree_status.sh new file mode 100755 index 000000000..12c1d1ee5 --- /dev/null +++ b/hack/tree_status.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +STATUS=$(git status --porcelain) +if [[ -z $STATUS ]] +then + echo "tree is clean" +else + echo "tree is dirty, please commit all changes and sync the vendor.conf" + echo "" + echo $STATUS + exit 1 +fi |