Skip to content

Commit

Permalink
Merge pull request #1 from adevinta/migration
Browse files Browse the repository at this point in the history
Migrate from spark-ios
  • Loading branch information
robergro authored Jun 21, 2024
2 parents 14528c4 + 0a6c079 commit 089fbb8
Show file tree
Hide file tree
Showing 71 changed files with 1,535 additions and 1,278 deletions.
Binary file modified .github/assets/anatomy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ DerivedData/
.swiftpm/
*Generated/
Package.resolved
.swiftlint/RemoteConfigCache
49 changes: 5 additions & 44 deletions .sourcery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,12 @@ configurations:
include:
- Sources/
exclude:
- Sources/Spark___COMPONENT_NAME___Testing/
- Sources/Spark___COMPONENT_NAME___SnapshotTesting/
- Sources/Testing/
- Sources/SnapshotTesting/
templates:
- .sourcery/template/SparkAutoMockable.stencil
output: Sources/Spark___COMPONENT_NAME___Testing/Generated/AutoMockable.generated.swift
args:
autoMockableImports: [Combine, SparkTheming, SparkTheme]
autoMockableSPIImports: [SparkCommon, SparkCommonTesting, SparkThemingTesting]
autoMockableTestableImports: [Spark___COMPONENT_NAME___]
- sources:
include:
- Sources/
exclude:
- Sources/Spark___COMPONENT_NAME___Testing/
- Sources/Spark___COMPONENT_NAME___SnapshotTesting/
templates:
- .sourcery/template/SparkAutoMockTest.stencil
output: Sources/Spark___COMPONENT_NAME___Testing/Generated/AutoMockTest.generated.swift
args:
autoMockableImports: [Combine, SparkTheming]
autoMockableSPIImports: [SparkCommon, SparkCommonTestin, SparkThemingTestingg]
autoMockableTestableImports: [Spark___COMPONENT_NAME___]
- sources:
include:
- Sources/
exclude:
- Sources/Spark___COMPONENT_NAME___Testing/
- Sources/Spark___COMPONENT_NAME___SnapshotTesting/
templates:
- .sourcery/template/SparkAutoPublisherTest.stencil
output: Sources/Spark___COMPONENT_NAME___Testing/Generated/AutoPublisherTest.generated.swift
args:
autoMockableImports: [Combine, SparkTheming]
autoMockableSPIImports: [SparkCommon, SparkCommonTesting, SparkThemingTesting]
autoMockableTestableImports: [Spark___COMPONENT_NAME___]
- sources:
include:
- Sources/
exclude:
- Sources/Spark___COMPONENT_NAME___Testing/
- Sources/Spark___COMPONENT_NAME___SnapshotTesting/
templates:
- .sourcery/template/SparkAutoViewModelStub.stencil
output: Sources/Spark___COMPONENT_NAME___Testing/Generated/AutoViewModelStub.generated.swift
- ../spark-ios-common/.sourcery/template/
output: Sources/Testing/Generated/Sourcery.generated.swift
args:
autoMockableImports: [Combine, SparkTheming]
autoMockableSPIImports: [SparkCommon, SparkCommonTesting, SparkThemingTesting]
autoMockableTestableImports: [Spark___COMPONENT_NAME___]
autoMockableTestableImports: [SparkFormField]
147 changes: 0 additions & 147 deletions .sourcery/template/SparkAutoMockTest.stencil

This file was deleted.

Loading

0 comments on commit 089fbb8

Please sign in to comment.