forked from microsoft/react-native-code-push
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CodePush.podspec
21 lines (17 loc) · 905 Bytes
/
CodePush.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'CodePush'
s.version = package['version'].sub('-beta', '')
s.summary = 'React Native module for the CodePush service'
s.author = 'Microsoft Corporation'
s.license = 'MIT'
s.homepage = 'http://microsoft.github.io/code-push/'
s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}-beta" }
s.platform = :ios, '7.0'
s.source_files = 'ios/CodePush/*.{h,m}', 'ios/CodePush/SSZipArchive/*.{h,m}', 'ios/CodePush/SSZipArchive/aes/*.{h,c}', 'ios/CodePush/SSZipArchive/minizip/*.{h,c}'
s.public_header_files = 'ios/CodePush/CodePush.h'
s.preserve_paths = '*.js'
s.library = 'z'
s.dependency 'React'
end