mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 20:57:11 +03:00
14 lines
353 B
Bash
Executable File
14 lines
353 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ `git status --porcelain Tests/Fixtures` ]]; then
|
|
echo ""
|
|
echo "⚠️ Generated fixtures have changed."
|
|
echo "⚠️ If this is a valid change please run the tests and commit the updates."
|
|
echo ""
|
|
git --no-pager diff --color=always Tests/Fixtures
|
|
exit 1
|
|
else
|
|
echo "✅ Generated fixtures have not changed."
|
|
fi
|