mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-10-26 22:11:25 +03:00
14 lines
354 B
Bash
Executable File
14 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ `git status --porcelain Tests/Fixtures` ]]; then
|
|
echo ""
|
|
echo "⚠️ Generated fixturess 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
|