20 lines
706 B
Ruby
20 lines
706 B
Ruby
require "json"
|
|
|
|
Pod::Spec.new do |s|
|
|
# NPM package specification
|
|
package = JSON.parse(File.read(File.join(File.dirname(__FILE__), "package.json")))
|
|
|
|
s.name = "RNGestureHandler"
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.homepage = "https://github.com/software-mansion/react-native-gesture-handler"
|
|
s.license = "MIT"
|
|
s.author = { package["author"]["name"] => package["author"]["email"] }
|
|
s.platforms = { :ios => "9.0", :tvos => "9.0" }
|
|
s.source = { :git => "https://github.com/software-mansion/react-native-gesture-handler", :tag => "#{s.version}" }
|
|
s.source_files = "ios/**/*.{h,m}"
|
|
|
|
s.dependency "React-Core"
|
|
|
|
end
|