Skip to content

Commit

Permalink
Pod spec
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbedwards committed Sep 24, 2019
1 parent f87c91f commit 47f48ea
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@

{
"name": "react-native-broadcast",
"version": "1.0.0",
"description": "",
"version": "1.0.4",
"description": "RTMP Broadcaster library for React Native",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"react-native"
],
"author": "",
"author": "BehaviorCloud LLC",
"homepage": "https://github.com/BehaviorCloud/react-native-broadcast#readme",
"license": ""
}
19 changes: 19 additions & 0 deletions react-native-broadcast.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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.license = package['license']

s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/BehaviorCloud/react-native-broadcast.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m}"

s.dependency 'React'
end

0 comments on commit 47f48ea

Please sign in to comment.