2016-04-07 17:53:44 -06:00
|
|
|
require "json"
|
|
|
|
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
|
2016-02-17 10:51:34 -07:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = "react-native-video"
|
2016-04-07 17:53:44 -06:00
|
|
|
s.version = package["version"]
|
2016-02-17 10:51:34 -07:00
|
|
|
s.summary = "A <Video /> element for react-native"
|
2016-04-07 17:53:44 -06:00
|
|
|
s.author = "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)"
|
2016-02-17 10:51:34 -07:00
|
|
|
|
2016-04-07 17:47:10 -06:00
|
|
|
s.homepage = "https://github.com/brentvatne/react-native-video"
|
2016-02-17 10:51:34 -07:00
|
|
|
|
|
|
|
s.license = "MIT"
|
2016-04-07 17:55:42 -06:00
|
|
|
s.platform = :ios, "7.0"
|
2016-02-17 10:51:34 -07:00
|
|
|
|
2016-04-07 17:53:44 -06:00
|
|
|
s.source = { :git => "https://github.com/brentvatne/react-native-video.git", :tag => "#{s.version}" }
|
2016-02-17 10:51:34 -07:00
|
|
|
|
|
|
|
s.source_files = "*.{h,m}"
|
|
|
|
|
2016-04-07 17:53:44 -06:00
|
|
|
s.dependency "React"
|
2016-02-17 10:51:34 -07:00
|
|
|
end
|