10 lines
195 B
Bash
Executable File
10 lines
195 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
if [[ -n $(git status --porcelain) ]]; then
|
|
echo "Staging area is dirty, please add all files created by the build to .gitignore"
|
|
git diff --patch
|
|
exit 1
|
|
fi
|