Skip to content

Commit e462a4f

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Add readme to Resources dir.
Summary: . Differential Revision: D63869037
1 parent 876c665 commit e462a4f

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

extension/apple/Benchmark/Benchmark.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
03B0118E2CAC567900054791 /* DynamicTestCase.m in Sources */ = {isa = PBXBuildFile; fileRef = 03B0118C2CAC567900054791 /* DynamicTestCase.m */; };
1212
03B011912CAD114E00054791 /* ResourceTestCase.m in Sources */ = {isa = PBXBuildFile; fileRef = 03B011902CAD114E00054791 /* ResourceTestCase.m */; };
1313
03B2D37A2C8A515C0046936E /* GenericTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 03B2D3792C8A515C0046936E /* GenericTests.mm */; };
14-
03C7FA382C8AA3EC00E6E9AE /* Models in Resources */ = {isa = PBXBuildFile; fileRef = 03C7FA322C8AA24200E6E9AE /* Models */; };
14+
03C7FA382C8AA3EC00E6E9AE /* Resources in Resources */ = {isa = PBXBuildFile; fileRef = 03C7FA322C8AA24200E6E9AE /* Resources */; };
1515
03DD00A92C8FE44600FE4619 /* backend_coreml.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 03DD00992C8FE44600FE4619 /* backend_coreml.xcframework */; };
1616
03DD00AA2C8FE44600FE4619 /* kernels_custom.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 03DD009A2C8FE44600FE4619 /* kernels_custom.xcframework */; };
1717
03DD00AF2C8FE44600FE4619 /* kernels_portable.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 03DD009F2C8FE44600FE4619 /* kernels_portable.xcframework */; };
@@ -50,7 +50,7 @@
5050
03B0118F2CAD114E00054791 /* ResourceTestCase.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ResourceTestCase.h; sourceTree = "<group>"; };
5151
03B011902CAD114E00054791 /* ResourceTestCase.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ResourceTestCase.m; sourceTree = "<group>"; };
5252
03B2D3792C8A515C0046936E /* GenericTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GenericTests.mm; sourceTree = "<group>"; };
53-
03C7FA322C8AA24200E6E9AE /* Models */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Models; sourceTree = SOURCE_ROOT; };
53+
03C7FA322C8AA24200E6E9AE /* Resources */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Resources; sourceTree = SOURCE_ROOT; };
5454
03DD00992C8FE44600FE4619 /* backend_coreml.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = backend_coreml.xcframework; path = Frameworks/backend_coreml.xcframework; sourceTree = "<group>"; };
5555
03DD009A2C8FE44600FE4619 /* kernels_custom.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = kernels_custom.xcframework; path = Frameworks/kernels_custom.xcframework; sourceTree = "<group>"; };
5656
03DD009F2C8FE44600FE4619 /* kernels_portable.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = kernels_portable.xcframework; path = Frameworks/kernels_portable.xcframework; sourceTree = "<group>"; };
@@ -105,7 +105,7 @@
105105
children = (
106106
03B2D3662C8A515A0046936E /* App */,
107107
03ED6CEB2C8AAF5300F2D6EE /* Frameworks */,
108-
03C7FA322C8AA24200E6E9AE /* Models */,
108+
03C7FA322C8AA24200E6E9AE /* Resources */,
109109
03B2D3782C8A515C0046936E /* Tests */,
110110
03B0118D2CAC567900054791 /* TestUtils */,
111111
03B2D3652C8A515A0046936E /* Products */,
@@ -261,7 +261,7 @@
261261
isa = PBXResourcesBuildPhase;
262262
buildActionMask = 2147483647;
263263
files = (
264-
03C7FA382C8AA3EC00E6E9AE /* Models in Resources */,
264+
03C7FA382C8AA3EC00E6E9AE /* Resources in Resources */,
265265
);
266266
runOnlyForDeploymentPostprocessing = 0;
267267
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Resources
2+
3+
This directory and all files in it will be copied to the bundle’s resources directory, accessible via `NSBundle.resourcePath`.
4+
Place any resource files you want to access at runtime here.

extension/apple/Benchmark/Tests/GenericTests.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ @implementation GenericTests
2929

3030
+ (NSArray<NSString *> *)directories {
3131
return @[
32-
@"Models",
33-
@"aatp/data",
32+
@"Resources",
33+
@"aatp/data", // AWS Farm devides look at this subdirectory.
3434
];
3535
}
3636

0 commit comments

Comments
 (0)