Skip to content

Commit

Permalink
Add the unit test media files as development assets.
Browse files Browse the repository at this point in the history
Move UnitTests/Resources/Media into a top-level DevelopmentAssets directory.
  • Loading branch information
pixlwave committed Nov 28, 2024
1 parent 000073c commit 76fe1bd
Show file tree
Hide file tree
Showing 15 changed files with 88 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UITests/Sources/__Snapshots__/** filter=lfs diff=lfs merge=lfs -text
UnitTests/Resources/** filter=lfs diff=lfs merge=lfs -text
DevelopmentAssets/Media/** filter=lfs diff=lfs merge=lfs -text
UnitTests/__Snapshots__/** filter=lfs diff=lfs merge=lfs -text
PreviewTests/Sources/__Snapshots__/** filter=lfs diff=lfs merge=lfs -text
File renamed without changes.
File renamed without changes
File renamed without changes.
144 changes: 84 additions & 60 deletions ElementX.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions ElementX/SupportingFiles/target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ targets:
SWIFT_OBJC_BRIDGING_HEADER: ElementX/SupportingFiles/ElementX-Bridging-Header.h
SWIFT_OBJC_INTERFACE_HEADER_NAME: GeneratedInterface-Swift.h
PILLS_UT_TYPE_IDENTIFIER: $(BASE_BUNDLE_IDENTIFIER).pills
DEVELOPMENT_ASSET_PATHS: DevelopmentAssets/Media
OTHER_SWIFT_FLAGS:
- "-DIS_MAIN_APP"

Expand Down Expand Up @@ -227,3 +228,4 @@ targets:
- path: ../Resources
- path: ../SupportingFiles
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/ElementX
- path: ../../DevelopmentAssets/Media
2 changes: 1 addition & 1 deletion UnitTests/SupportingFiles/target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ targets:
- path: ../SupportingFiles
- path: ../../ElementX/Sources/Other/InfoPlistReader.swift
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/Unit
- path: ../Resources
- path: ../../DevelopmentAssets

0 comments on commit 76fe1bd

Please sign in to comment.