Skip to content

Commit 68bca1f

Browse files
zhongwuzwfacebook-github-bot
authored andcommitted
Excluded tests file from JSI pod (#25151)
Summary: Tests file exposed in 608b1b5. This break e2e tests, so let's excluded them from JSI pod. ## Changelog [iOS] [Fixed] - Excluded tests file from JSI pod Pull Request resolved: #25151 Differential Revision: D15645046 Pulled By: cpojer fbshipit-source-id: 19c712e4307cf712b8377d721661a2b476151732
1 parent 2dd7dd8 commit 68bca1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ReactCommon/React-Fabric.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Pod::Spec.new do |s|
6969
ss.dependency folly_dep_name, folly_version
7070
ss.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
7171
ss.source_files = "fabric/core/**/*.{m,mm,cpp,h}"
72-
ss.exclude_files = "**/tests/*"
72+
ss.exclude_files = "**/tests/**/*"
7373
ss.header_dir = "react/core"
7474
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/Folly\"" }
7575
end

ReactCommon/jsi/React-jsi.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Pod::Spec.new do |s|
3131
s.platforms = { :ios => "9.0", :tvos => "9.2" }
3232
s.source = source
3333
s.source_files = "**/*.{cpp,h}"
34+
s.exclude_files = "**/test/*"
3435
s.framework = "JavaScriptCore"
3536
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
3637
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Folly\"" }

0 commit comments

Comments
 (0)