2017-09-08 19:29:22 +00:00
|
|
|
require "json"
|
|
|
|
version = JSON.parse(File.read("package.json"))["version"]
|
2016-07-27 13:08:07 +00:00
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
2017-03-29 23:31:43 +00:00
|
|
|
s.name = "RNI18n"
|
|
|
|
s.version = version
|
2017-06-26 20:08:10 +00:00
|
|
|
s.description = "Provide I18n to your React Native application"
|
2017-06-26 10:01:10 +00:00
|
|
|
s.homepage = "https://github.com/AlexanderZaytsev/react-native-i18n"
|
2017-03-29 23:31:43 +00:00
|
|
|
s.summary = "React Native + i18n.js"
|
|
|
|
s.license = "MIT"
|
|
|
|
s.author = { "Alexander Zaytsev" => "alexander@say26.com" }
|
2017-09-08 19:29:22 +00:00
|
|
|
s.ios.deployment_target = "7.0"
|
|
|
|
s.tvos.deployment_target = "9.0"
|
2017-03-29 23:31:43 +00:00
|
|
|
s.source = { git: "https://github.com/AlexanderZaytsev/react-native-i18n.git", tag: s.version.to_s }
|
2017-08-27 19:12:31 +00:00
|
|
|
s.source_files = "ios/**/*.{h,m}"
|
2017-03-29 23:31:43 +00:00
|
|
|
s.requires_arc = true
|
2017-12-21 11:07:34 +00:00
|
|
|
|
|
|
|
s.dependency "React"
|
2016-07-27 13:08:07 +00:00
|
|
|
end
|