diff options
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh index 9762db5..66182a4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,12 @@ #!/bin/sh +if [[ -z $(git status -s) ]] +then + echo "tree is clean" +else + echo "tree is dirty, please commit changes before running this" + exit +fi + BASE_DIR=`pwd` rm -rf **/bin/Release cd MatrixRoomUtils.Web |