blob: c87ea5bf9ca0a7c7deab2b2da70b02cc0f9596e3 [file] [log] [blame]
#!/usr/bin/env bash
# STASH_NAME="pre-commit-$(date +%s)"
# git stash save --keep-index $STASH_NAME
mvn clean test
RESULT=$?
# STASHES=$(git stash list)
# if [[ $STASHES == *$STASH_NAME* ]]; then
# git stash pop
# fi
[ $RESULT -ne 0 ] && exit 1
exit 0