Skip to content

Commit

Permalink
Further DRY by generating example 5 start from 4 end
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Sep 21, 2024
1 parent 796073a commit cf39915
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 331 deletions.
1 change: 1 addition & 0 deletions 05-fixtures/0-start/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ DerivedData
#
# Pods/

*.xcodeproj
26 changes: 0 additions & 26 deletions 05-fixtures/0-start/Albertos/AlbertosApp.swift

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions 05-fixtures/0-start/Albertos/Assets.xcassets/Contents.json

This file was deleted.

50 changes: 0 additions & 50 deletions 05-fixtures/0-start/Albertos/Info.plist

This file was deleted.

7 changes: 0 additions & 7 deletions 05-fixtures/0-start/Albertos/MenuGrouping.swift

This file was deleted.

10 changes: 0 additions & 10 deletions 05-fixtures/0-start/Albertos/MenuItem.swift

This file was deleted.

17 changes: 0 additions & 17 deletions 05-fixtures/0-start/Albertos/MenuList.swift

This file was deleted.

10 changes: 0 additions & 10 deletions 05-fixtures/0-start/Albertos/MenuSection.swift

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions 05-fixtures/0-start/AlbertosTests/Collection+Safe.swift

This file was deleted.

22 changes: 0 additions & 22 deletions 05-fixtures/0-start/AlbertosTests/Info.plist

This file was deleted.

44 changes: 0 additions & 44 deletions 05-fixtures/0-start/AlbertosTests/MenuGroupingTests.swift

This file was deleted.

36 changes: 19 additions & 17 deletions 05-fixtures/0-start/project.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
include:
- ../../constants.yml
targets:
Albertos:
type: application
platform: iOS
sources: [Albertos]
scheme:
testTargets: [AlbertosTests]
AlbertosTests:
target: Albertos
type: bundle.unit-test
platform: iOS
sources: [AlbertosTests]
settings:
# No need for code signing in this demo, plus, it's the test target
CODE_SIGNING_ALLOWED: NO
dependencies:
- target: Albertos
- ../../04-tdd-in-the-real-world/1-end/project.yml

# targets:
# Albertos:
# type: application
# platform: iOS
# sources: [Albertos]
# scheme:
# testTargets: [AlbertosTests]
# AlbertosTests:
# target: Albertos
# type: bundle.unit-test
# platform: iOS
# sources: [AlbertosTests]
# settings:
# # No need for code signing in this demo, plus, it's the test target
# CODE_SIGNING_ALLOWED: NO
# dependencies:
# - target: Albertos

0 comments on commit cf39915

Please sign in to comment.