Skip to content

Commit

Permalink
add podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
madhums committed Jan 17, 2020
1 parent a6c2c70 commit d1215b5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions react-native-http-bridge.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.description = package['description']
s.license = package['license']
s.author = package['author']
s.homepage = package['repository']
s.source = { :git => 'https://github.com/alwx/react-native-http-bridge.git' }

s.requires_arc = true
s.platform = :ios, '7.0'

s.preserve_paths = 'README.md', 'package.json', 'httpServer.js'
s.source_files = 'ios/*.{h,m}', 'ios/WGCDWebServer/*/*.{h,m}'

s.dependency 'React'
end

0 comments on commit d1215b5

Please sign in to comment.