2016-05-14 21:19:29 +02:00
|
|
|
require 'json'
|
|
|
|
pjson = JSON.parse(File.read('package.json'))
|
|
|
|
|
2016-01-07 14:41:12 -06:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
2016-05-14 21:19:29 +02:00
|
|
|
s.name = "RNFS"
|
|
|
|
s.version = pjson["version"]
|
2017-04-28 02:31:54 +02:00
|
|
|
s.homepage = "https://github.com/itinance/react-native-fs"
|
2016-05-14 21:19:29 +02:00
|
|
|
s.summary = pjson["description"]
|
|
|
|
s.license = pjson["license"]
|
|
|
|
s.author = { "Johannes Lumpe" => "johannes@lum.pe" }
|
2017-05-02 17:41:00 +02:00
|
|
|
s.ios.deployment_target = '8.0'
|
|
|
|
s.tvos.deployment_target = '9.0'
|
2017-04-28 02:31:54 +02:00
|
|
|
s.source = { :git => "https://github.com/itinance/react-native-fs", :tag => "v#{s.version}" }
|
2016-05-14 21:19:29 +02:00
|
|
|
s.source_files = '*.{h,m}'
|
|
|
|
s.preserve_paths = "**/*.js"
|
|
|
|
|
|
|
|
s.dependency 'React/Core'
|
|
|
|
|
2016-01-07 14:41:12 -06:00
|
|
|
end
|