add podspec, update version number

This commit is contained in:
Thiemo Bleeken 2017-04-21 13:30:37 +02:00 committed by Pedro Belo
parent 17557df295
commit 7d33bd5ad6

View File

@ -0,0 +1,21 @@
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "react-native-config"
s.version = package["version"]
s.summary = "Expose config variables to React Native apps"
s.author = "Pedro Belo"
s.homepage = "https://github.com/thiemo--bleeken/react-native-config"
s.license = "MIT"
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/thiemo--bleeken/react-native-config.git", :tag => "#{s.version}" }
s.source_files = "ios/*.{h,m}"
s.dependency "React"
end