Skip to content

Commit

Permalink
Cleans up ResourceTests folder to make it more compatible with SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
guykogus committed Jun 13, 2022
1 parent 9c9a49f commit 5651fba
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ let package = Package(
dependencies: ["SwifterSwift"],
path: "Tests",
exclude: ["Info.plist"],
resources: [.process("ResourcesTests")])
resources: [.process("ResourcesTests/Resources")])
])
38 changes: 27 additions & 11 deletions SwifterSwift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,7 @@
8D50E51D24D0D6FB00972E2D /* tvOS */ = {
isa = PBXGroup;
children = (
F88C491824AF73A400BA0503 /* TestStoryboard-tvOS.storyboard */,
8D50E52024D0D73E00972E2D /* UIImageViewTvOS.xib */,
);
path = tvOS;
Expand Down Expand Up @@ -1483,17 +1484,8 @@
CAC5EBBE2125270A00AB27EC /* ResourcesTests */ = {
isa = PBXGroup;
children = (
8D50E51D24D0D6FB00972E2D /* tvOS */,
CAC5EBC52125270A00AB27EC /* big_buck_bunny_720p_1mb.mp4 */,
CAC5EBC22125270A00AB27EC /* test.json */,
CAC5EBBF2125270A00AB27EC /* TestImage.png */,
CAC5EBC02125270A00AB27EC /* TestStoryboard.storyboard */,
F88C491824AF73A400BA0503 /* TestStoryboard-tvOS.storyboard */,
CAC5EBC12125270A00AB27EC /* UICollectionViewCell.xib */,
8D50E51E24D0D71E00972E2D /* UIImageView.xib */,
CAC5EBC32125270A00AB27EC /* UITableViewCell.xib */,
CAC5EBC42125270A00AB27EC /* UITableViewHeaderFooterView.xib */,
5E36CB6424AC9909007727DA /* MyViewController.swift */,
F8830FC3285478EC00C1D802 /* Resources */,
F8830FC2285478EC00C1D802 /* Sources */,
);
path = ResourcesTests;
sourceTree = "<group>";
Expand Down Expand Up @@ -1525,6 +1517,30 @@
path = CoreAnimationTests;
sourceTree = "<group>";
};
F8830FC2285478EC00C1D802 /* Sources */ = {
isa = PBXGroup;
children = (
5E36CB6424AC9909007727DA /* MyViewController.swift */,
);
path = Sources;
sourceTree = "<group>";
};
F8830FC3285478EC00C1D802 /* Resources */ = {
isa = PBXGroup;
children = (
8D50E51D24D0D6FB00972E2D /* tvOS */,
CAC5EBC52125270A00AB27EC /* big_buck_bunny_720p_1mb.mp4 */,
CAC5EBC22125270A00AB27EC /* test.json */,
CAC5EBBF2125270A00AB27EC /* TestImage.png */,
CAC5EBC02125270A00AB27EC /* TestStoryboard.storyboard */,
CAC5EBC12125270A00AB27EC /* UICollectionViewCell.xib */,
8D50E51E24D0D71E00972E2D /* UIImageView.xib */,
CAC5EBC32125270A00AB27EC /* UITableViewCell.xib */,
CAC5EBC42125270A00AB27EC /* UITableViewHeaderFooterView.xib */,
);
path = Resources;
sourceTree = "<group>";
};
F8E62DA224D0184E00BF35AE /* XCTestTests */ = {
isa = PBXGroup;
children = (
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// MyViewController.swift - Copyright 2020 SwifterSwift
// MyViewController.swift - Copyright 2022 SwifterSwift

#if canImport(UIKit) && !os(watchOS)
import UIKit
Expand Down

0 comments on commit 5651fba

Please sign in to comment.