2015-03-26 13:32:01 +00:00
|
|
|
Pod::Spec.new do |s|
|
2015-04-01 02:01:48 +00:00
|
|
|
s.name = "React"
|
2015-09-16 17:30:53 +00:00
|
|
|
s.version = "0.8.0"
|
2015-04-01 02:01:48 +00:00
|
|
|
s.summary = "Build high quality mobile apps using React."
|
|
|
|
s.description = <<-DESC
|
|
|
|
React Native apps are built using the React JS
|
|
|
|
framework, and render directly to native UIKit
|
|
|
|
elements using a fully asynchronous architecture.
|
|
|
|
There is no browser and no HTML. We have picked what
|
|
|
|
we think is the best set of features from these and
|
|
|
|
other technologies to build what we hope to become
|
|
|
|
the best product development framework available,
|
|
|
|
with an emphasis on iteration speed, developer
|
|
|
|
delight, continuity of technology, and absolutely
|
|
|
|
beautiful and fast products with no compromises in
|
|
|
|
quality or capability.
|
|
|
|
DESC
|
|
|
|
s.homepage = "http://facebook.github.io/react-native/"
|
|
|
|
s.license = "BSD"
|
|
|
|
s.author = "Facebook"
|
|
|
|
s.source = { :git => "https://github.com/facebook/react-native.git", :tag => "v#{s.version}" }
|
|
|
|
s.default_subspec = 'Core'
|
|
|
|
s.requires_arc = true
|
|
|
|
s.platform = :ios, "7.0"
|
2015-07-01 11:03:44 +00:00
|
|
|
s.prepare_command = 'npm install --production'
|
2015-04-01 02:01:48 +00:00
|
|
|
s.preserve_paths = "cli.js", "Libraries/**/*.js", "lint", "linter.js", "node_modules", "package.json", "packager", "PATENTS", "react-native-cli"
|
|
|
|
|
|
|
|
s.subspec 'Core' do |ss|
|
|
|
|
ss.source_files = "React/**/*.{c,h,m}"
|
|
|
|
ss.exclude_files = "**/__tests__/*", "IntegrationTests/*"
|
|
|
|
ss.frameworks = "JavaScriptCore"
|
|
|
|
end
|
2015-03-26 13:32:01 +00:00
|
|
|
|
2015-05-13 17:07:59 +00:00
|
|
|
s.subspec 'ART' do |ss|
|
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/ART/**/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/ART/**/*.js"
|
|
|
|
end
|
|
|
|
|
2015-03-26 13:32:01 +00:00
|
|
|
s.subspec 'RCTActionSheet' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/ActionSheetIOS/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/ActionSheetIOS/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'RCTAdSupport' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/AdSupport/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/AdSupport/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'RCTGeolocation' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/Geolocation/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/Geolocation/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'RCTImage' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
2015-08-19 16:41:37 +00:00
|
|
|
ss.dependency 'React/RCTNetwork'
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.source_files = "Libraries/Image/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/Image/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'RCTNetwork' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/Network/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/Network/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'RCTPushNotification' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/PushNotificationIOS/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/PushNotificationIOS/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
|
|
|
|
2015-05-14 11:07:07 +00:00
|
|
|
s.subspec 'RCTSettings' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
2015-05-14 11:07:07 +00:00
|
|
|
ss.source_files = "Libraries/Settings/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/Settings/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'RCTText' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/Text/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/Text/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'RCTVibration' do |ss|
|
2015-04-01 02:01:48 +00:00
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/Vibration/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/Vibration/*.js"
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|
2015-05-14 11:07:07 +00:00
|
|
|
|
2015-05-14 16:28:09 +00:00
|
|
|
s.subspec 'RCTWebSocket' do |ss|
|
2015-05-14 11:07:07 +00:00
|
|
|
ss.dependency 'React/Core'
|
2015-05-14 16:28:09 +00:00
|
|
|
ss.source_files = "Libraries/WebSocket/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/WebSocket/*.js"
|
2015-05-14 11:07:07 +00:00
|
|
|
end
|
2015-06-11 17:46:57 +00:00
|
|
|
|
|
|
|
s.subspec 'RCTLinkingIOS' do |ss|
|
|
|
|
ss.dependency 'React/Core'
|
|
|
|
ss.source_files = "Libraries/LinkingIOS/*.{h,m}"
|
|
|
|
ss.preserve_paths = "Libraries/LinkingIOS/*.js"
|
|
|
|
end
|
2015-09-16 00:28:39 +00:00
|
|
|
|
2015-03-26 13:32:01 +00:00
|
|
|
end
|