Skip to content

Commit 744697a

Browse files
authored
Further DRY with xcodegen (#4)
2 parents b1ca2c4 + 1977622 commit 744697a

File tree

888 files changed

+827
-24122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

888 files changed

+827
-24122
lines changed

.github/workflows/tests.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Run tests on all examples
2+
3+
on:
4+
push
5+
6+
jobs:
7+
build_and_test:
8+
strategy:
9+
matrix:
10+
folder:
11+
- 04-tdd-in-the-real-world
12+
- 05-fixtures
13+
- 06-testing-static-swiftui-views
14+
- 07-testing-dynamic-swiftui-views
15+
- 08-stub
16+
- 09-json-decoding
17+
- 10-networking
18+
- 11-dependency-injection-with-environment-object
19+
- 12-spy
20+
- 13-testing-view-presentation
21+
- 14-fixing-bugs-and-changing-code
22+
- 15-fake-and-dummy
23+
- 17-appendix-b-nimble-only
24+
- 18-appendix-b-quick-and-nimble
25+
- 19-appendix-c-uikit
26+
runs-on: macos-14
27+
steps:
28+
- name: Check Xcode version
29+
run: /usr/bin/xcodebuild -version
30+
31+
- name: Checkout repository
32+
uses: actions/checkout@v3
33+
34+
- name: Test examples ${{ matrix.folder }}
35+
run: |
36+
brew install xcodegen
37+
cd ./${{ matrix.folder }}
38+
echo "Currently in $(pwd)"
39+
make

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.DS_Store
2+
# If Xcode is setup to use a local derived data folder (recommended), ignore it
3+
DerivedData
4+
5+
# Ignore xcodeproj because we codegenerate them
6+
*.xcodeproj
7+
# Ignore Info.plist because we codegen that, too
8+
Info.plist
9+
10+
# SwiftPM
11+
.build

.xcode-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16.0

04-tdd-in-the-real-world/0-start/.gitignore

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)