Skip to content

Commit

Permalink
Move content of Source
Browse files Browse the repository at this point in the history
Moved all source code from the Source folder to Sources/OCHamcrest. Updated Package.swift and Xcode to reflect the folder change.
  • Loading branch information
barkoded committed Jan 23, 2025
1 parent 032f0ed commit 86b9c95
Show file tree
Hide file tree
Showing 217 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions OCHamcrest.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Pod::Spec.new do |s|
s.watchos.deployment_target = '4.0'
s.visionos.deployment_target = '1.0'
s.source = { :git => 'https://github.com/hamcrest/OCHamcrest.git', :tag => 'v9.0.3' }
s.source_files = 'Source/OCHamcrest.h', 'Source/Core/**/*.{h,m}', 'Source/Library/**/*.{h,m}'
s.private_header_files = 'Source/Core/Helpers/HCRunloopRunner.h', 'Source/Core/Helpers/NSInvocation+OCHamcrest.h', 'Source/Core/Helpers/ReturnValueGetters/*.h', 'Source/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.h', 'Source/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.h', 'Source/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.h'
s.source_files = 'Sources/OCHamcrest/OCHamcrest.h', 'Sources/OCHamcrest/Core/**/*.{h,m}', 'Sources/OCHamcrest/Library/**/*.{h,m}'
s.private_header_files = 'Sources/OCHamcrest/Core/Helpers/HCRunloopRunner.h', 'Sources/OCHamcrest/Core/Helpers/NSInvocation+OCHamcrest.h', 'Sources/OCHamcrest/Core/Helpers/ReturnValueGetters/*.h', 'Sources/OCHamcrest/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.h', 'Sources/OCHamcrest/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.h', 'Sources/OCHamcrest/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.h'
s.requires_arc = true
end
8 changes: 3 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ let package = Package(
targets: [
.target(
name: "OCHamcrest",
path: "Source",
publicHeadersPath: "include",
cSettings: [
CSetting.headerSearchPath("./Core/Helpers"),
CSetting.headerSearchPath("./Core/Helpers/ReturnValueGetters"),
CSetting.headerSearchPath("./Core/Helpers/TestFailureReporters"),
.headerSearchPath("./Core/Helpers"),
.headerSearchPath("./Core/Helpers/ReturnValueGetters"),
.headerSearchPath("./Core/Helpers/TestFailureReporters"),
]
),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions Resources/OCHamcrest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
BB333522A78D6A7D1A8414B3 /* HCIsIn.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HCIsIn.m; sourceTree = "<group>"; };
BB333528C8E2ED8489ACB161 /* HCTestFailureReporter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HCTestFailureReporter.m; sourceTree = "<group>"; };
BB33355AD08369793188986F /* HCObjectReturnGetter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HCObjectReturnGetter.m; sourceTree = "<group>"; };
BB33356A6185FA4F1B6E240F /* OCHamcrest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OCHamcrest.h; path = ../Source/OCHamcrest.h; sourceTree = "<group>"; };
BB33356A6185FA4F1B6E240F /* OCHamcrest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OCHamcrest.h; path = ../Sources/OCHamcrest/OCHamcrest.h; sourceTree = "<group>"; };
BB33359133039118AE88E2A8 /* HCIsNil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HCIsNil.h; sourceTree = "<group>"; };
BB333594FB0AC2DAC3B73077 /* HCIsSame.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HCIsSame.m; sourceTree = "<group>"; };
BB3335974ADA5C5408FE0F69 /* HCStringEndsWith.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HCStringEndsWith.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -716,7 +716,7 @@
BB33378F4CD8AE4C7EFC1CF0 /* Helpers */,
);
name = Core;
path = ../Source/Core;
path = ../Sources/OCHamcrest/Core;
sourceTree = "<group>";
};
BB33378F4CD8AE4C7EFC1CF0 /* Helpers */ = {
Expand Down Expand Up @@ -833,7 +833,7 @@
BB333EA5543B2EAB4E34B3CF /* Text */,
);
name = Library;
path = ../Source/Library;
path = ../Sources/OCHamcrest/Library;
sourceTree = "<group>";
};
BB333EA5543B2EAB4E34B3CF /* Text */ = {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 86b9c95

Please sign in to comment.