mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
move ci scripts and add generation step
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd Tests/Fixtures/TestProject
|
||||
./build.sh
|
||||
Executable
+13
@@ -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
|
||||
Reference in New Issue
Block a user