-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBVLinearGradient.podspec
More file actions
21 lines (17 loc) · 772 Bytes
/
BVLinearGradient.podspec
File metadata and controls
21 lines (17 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'json'
version = JSON.parse(File.read('package.json'))["version"]
Pod::Spec.new do |s|
s.name = "BVLinearGradient"
s.version = version
s.homepage = "https://github.com/brentvatne/react-native-linear-gradient"
s.summary = "A <LinearGradient /> component for react-native"
s.license = "MIT"
s.author = { "Brent Vatne" => "brentvatne@gmail.com" }
s.ios.deployment_target = '7.0'
s.tvos.deployment_target = '9.0'
s.source = { :git => "https://github.com/brentvatne/react-native-linear-gradient.git", :tag => "#{s.version}" }
s.source_files = 'BVLinearGradient/*.{h,m}'
s.preserve_paths = "**/*.js"
s.frameworks = 'UIKit', 'QuartzCore', 'Foundation'
s.dependency 'React'
end