Cirrus: Add check for make varlink_api_generate

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich
2019-05-01 10:37:50 -04:00
parent 2658e870d2
commit b648ca0810
2 changed files with 31 additions and 1 deletions

View File

@ -1,12 +1,14 @@
#!/bin/bash
set -e
SUGGESTION="${SUGGESTION:-sync the vendor.conf and commit all changes.}"
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 "tree is dirty, please $SUGGESTION"
echo ""
echo "$STATUS"
exit 1