[Pods] Define a subspec for ART

Summary:
Adds a CocoaPods subspec for ART.

Closes https://github.com/facebook/react-native/pull/1208
Github Author: James Ide <ide@jameside.com>

Test Plan:  Pull in the subspec and run the VectorWidget example from react-art.
This commit is contained in:
James Ide 2015-05-13 10:07:59 -07:00 committed by Christopher Chedeau
parent 1497e42fc5
commit 484f63b1db
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,12 @@ Pod::Spec.new do |s|
ss.frameworks = "JavaScriptCore" ss.frameworks = "JavaScriptCore"
end end
s.subspec 'ART' do |ss|
ss.dependency 'React/Core'
ss.source_files = "Libraries/ART/**/*.{h,m}"
ss.preserve_paths = "Libraries/ART/**/*.js"
end
s.subspec 'RCTActionSheet' do |ss| s.subspec 'RCTActionSheet' do |ss|
ss.dependency 'React/Core' ss.dependency 'React/Core'
ss.source_files = "Libraries/ActionSheetIOS/*.{h,m}" ss.source_files = "Libraries/ActionSheetIOS/*.{h,m}"