Expose RCTTest for consumers via CocoaPods

Summary: Enables using `RCTTestRunner` in app code.
Closes https://github.com/facebook/react-native/pull/3382

Reviewed By: @​svcscm

Differential Revision: D2536089

Pulled By: @nicklockwood

fb-gh-sync-id: 35d3e57e43ac94ad3e6abf6852bf963c9dd2e1c9
This commit is contained in:
Param Aggarwal 2015-10-13 07:38:11 -07:00 committed by facebook-github-bot-3
parent 44c651037a
commit 8e03dfc99e
1 changed files with 6 additions and 0 deletions

View File

@ -104,4 +104,10 @@ Pod::Spec.new do |s|
ss.preserve_paths = "Libraries/LinkingIOS/*.js"
end
s.subspec 'RCTTest' do |ss|
ss.source_files = "Libraries/RCTTest/**/*.{h,m}"
ss.preserve_paths = "Libraries/RCTTest/**/*.js"
ss.frameworks = "XCTest"
end
end