move ci scripts and add generation step

This commit is contained in:
Yonas Kolb
2019-02-02 13:21:19 +11:00
parent eb02ebe3d0
commit aeaf35e197
5 changed files with 15 additions and 10 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
set -e
cd Tests/Fixtures/TestProject
./build.sh
+13
View File
@@ -0,0 +1,13 @@
#!/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
@@ -1 +1,4 @@
#!/bin/bash
set -e
swift run xcodegen --spec Tests/Fixtures/TestProject/project.yml