Uh oh!
There was an error while loading. Please reload this page.
forked from microsoft/react-native-code-push
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodePush.podspec
More file actions
Latest commit
30 lines (23 loc) · 1.03 KB
/
Copy pathCodePush.podspec
File metadata and controls
30 lines (23 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require'json'
package=JSON.parse(File.read(File.join(__dir__,'package.json')))
Pod::Spec.newdo |s|
s.name='CodePush'
s.version=package['version'].sub('-beta','')
s.summary=package['description']
s.author=package['author']
s.license=package['license']
s.homepage=package['homepage']
s.source={:git=>'https://github.com/Microsoft/react-native-code-push.git',:tag=>"v#{s.version}-beta"}
s.platform=:ios,'7.0'
s.preserve_paths='*.js'
s.library='z'
s.dependency'React'
s.subspec'Core'do |ss|
ss.source_files='ios/CodePush/*.{h,m}'
ss.public_header_files=['ios/CodePush/CodePush.h']
end
s.subspec'SSZipArchive'do |ss|
ss.source_files='ios/CodePush/SSZipArchive/*.{h,m}','ios/CodePush/SSZipArchive/aes/*.{h,c}','ios/CodePush/SSZipArchive/minizip/*.{h,c}'
ss.private_header_files='ios/CodePush/SSZipArchive/*.h','ios/CodePush/SSZipArchive/aes/*.h','ios/CodePush/SSZipArchive/minizip/*.h'
end
end