2016-05-12 13:26:12 +00:00
|
|
|
require 'json'
|
|
|
|
version = JSON.parse(File.read('package.json'))["version"]
|
|
|
|
|
2016-02-07 13:22:33 +00:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
2016-05-12 13:26:12 +00:00
|
|
|
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" }
|
2017-06-19 11:58:30 +00:00
|
|
|
s.ios.deployment_target = '7.0'
|
|
|
|
s.tvos.deployment_target = '9.0'
|
2016-05-12 13:26:12 +00:00
|
|
|
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"
|
|
|
|
|
2016-02-07 13:22:33 +00:00
|
|
|
s.dependency 'React'
|
|
|
|
|
2016-02-07 16:13:31 +00:00
|
|
|
end
|