diff --git a/hack/tree_status.sh b/hack/tree_status.sh new file mode 100755 index 00000000..78fb4c6a --- /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