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