forked from artsy/emission
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmission.podspec
More file actions
36 lines (31 loc) · 1.33 KB
/
Emission.podspec
File metadata and controls
36 lines (31 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require 'json'
pkg_version = lambda do |dir_from_root|
JSON.load(File.read(File.join(__dir__, dir_from_root, 'package.json')))['version']
end
emission_version = pkg_version.call('.')
react_native_version = pkg_version.call('node_modules/react-native')
Pod::Spec.new do |s|
s.name = 'Emission'
s.version = emission_version
s.summary = 'React Native Components used by Eigen.'
s.homepage = 'https://github.com/artsy/emission'
s.license = 'MIT'
s.author = { 'Eloy Durán' => 'eloy@artsy.net',
'Maxim Cramer' => 'maxim@artsy.net',
'Sarah Scott' => 'sarah.scott@artsy.net' }
s.source = { :git => 'https://github.com/artsy/emission.git', :tag => "v#{s.version}" }
s.platform = :ios, '8.0'
s.requires_arc = true
s.source_files = 'Pod/Classes/**/*.{h,m}'
s.resources = 'Pod/Assets/{Emission.js,assets}'
# Artsy pods
s.dependency 'Artsy+UIFonts', '>= 3.0.0'
s.dependency 'Extraction', '>= 1.2.1'
# 3rd-party pods
s.dependency 'SDWebImage', '>= 3.7.2'
s.dependency 'Yoga', "#{react_native_version}.React"
s.dependency 'React/Core', react_native_version
s.dependency 'React/RCTText', react_native_version
s.dependency 'React/RCTImage', react_native_version
s.dependency 'React/RCTNetwork', react_native_version
end