Skip to content

Commit aeaf35e

Browse files
committed
move ci scripts and add generation step
1 parent eb02ebe commit aeaf35e

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

.circleci/config.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ jobs:
1212
name: Test
1313
command: swift test 2>&1 | xcpretty
1414
- run:
15-
name: Check Project Diff
16-
command: ./diff-fixtures.sh
15+
name: Generate Fixtures
16+
command: scripts/gen-fixtures.sh
1717
- run:
18-
name: Build Test Project
19-
command: ./build-fixtures.sh
18+
name: Check Fixture Diffs
19+
command: scripts/diff-fixtures.sh
20+
- run:
21+
name: Build Fixtures
22+
command: scripts/build-fixtures.sh
2023
- run:
2124
name: Build release
2225
command: make build

build-fixtures.sh

-6
This file was deleted.

scripts/build-fixtures.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
set -e
3+
4+
cd Tests/Fixtures/TestProject
5+
./build.sh
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
#!/bin/bash
2+
set -e
3+
14
swift run xcodegen --spec Tests/Fixtures/TestProject/project.yml

0 commit comments

Comments
 (0)