mirror of
https://github.com/status-im/react-native-config.git
synced 2025-02-21 19:38:22 +00:00
23 lines
611 B
Ruby
23 lines
611 B
Ruby
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/luggit/react-native-config"
|
|
|
|
s.license = "MIT"
|
|
s.platform = :ios, "7.0"
|
|
|
|
s.source = { :git => "https://github.com/luggit/react-native-config.git", :tag => "#{s.version}" }
|
|
|
|
s.source_files = "ios/**/*.{h,m}"
|
|
s.requires_arc = true
|
|
|
|
s.dependency "React-Core"
|
|
end
|