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