mirror of
https://github.com/status-im/react-native-keychain.git
synced 2025-02-17 23:57:22 +00:00
Makes podspec use version from package.json.
This commit is contained in:
parent
040b2c2128
commit
34f2471418
@ -1,14 +1,17 @@
|
|||||||
|
require 'json'
|
||||||
|
version = JSON.parse(File.read('package.json'))["version"]
|
||||||
|
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
|
|
||||||
s.name = "RNKeychain"
|
s.name = "RNKeychain"
|
||||||
s.version = "0.2.7"
|
s.version = version
|
||||||
s.summary = "Keychain Access for React Native."
|
s.summary = "Keychain Access for React Native."
|
||||||
s.homepage = "https://github.com/oblador/react-native-keychain"
|
s.homepage = "https://github.com/oblador/react-native-keychain"
|
||||||
s.license = "MIT"
|
s.license = "MIT"
|
||||||
s.author = { "Joel Arvidsson" => "joel@oblador.se" }
|
s.author = { "Joel Arvidsson" => "joel@oblador.se" }
|
||||||
s.platform = :ios, "7.0"
|
s.platform = :ios, "7.0"
|
||||||
s.source = { :git => "https://github.com/oblador/react-native-keychain.git", :tag => "v#{s.version}" }
|
s.source = { :git => "https://github.com/oblador/react-native-keychain.git", :tag => "v#{s.version}" }
|
||||||
s.source_files = 'RNKeychainManager/**/*.{h,m}'
|
s.source_files = 'RNKeychainManager/**/*.{h,m}'
|
||||||
s.preserve_paths = "**/*.js"
|
s.preserve_paths = "**/*.js"
|
||||||
s.dependency 'React'
|
s.dependency 'React'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user