@@ -4,27 +4,27 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
4
5
5
Pod ::Spec . new do |s |
6
6
7
- s . name = 'CodePush'
8
- s . version = package [ 'version' ] . sub ( '-beta' , '' )
9
- s . summary = 'React Native module for the CodePush service'
10
- s . author = 'Microsoft Corporation'
11
- s . license = 'MIT'
12
- s . homepage = 'http://microsoft.github.io/code-push/'
13
- s . source = { :git => 'https://github.com/Microsoft/react-native-code-push.git' , :tag => "v#{ s . version } -beta" }
14
- s . platform = :ios , '7.0'
15
- s . public_header_files = 'ios/CodePush/CodePush.h '
16
- s . preserve_paths = '*.js '
17
- s . library = 'z'
7
+ s . name = 'CodePush'
8
+ s . version = package [ 'version' ] . sub ( '-beta' , '' )
9
+ s . summary = 'React Native module for the CodePush service'
10
+ s . author = 'Microsoft Corporation'
11
+ s . license = 'MIT'
12
+ s . homepage = 'http://microsoft.github.io/code-push/'
13
+ s . source = { :git => 'https://github.com/Microsoft/react-native-code-push.git' , :tag => "v#{ s . version } -beta" }
14
+ s . platform = :ios , '7.0'
15
+ s . preserve_paths = '*.js '
16
+ s . library = 'z '
17
+
18
18
s . dependency 'React'
19
-
20
- s . default_subspec = 'Full'
21
-
22
- s . subspec 'Full' do |ss |
23
- ss . source_files = 'ios/CodePush/*.{h,m}' , 'ios/CodePush/SSZipArchive/*.{h,m}' , 'ios/CodePush/SSZipArchive/aes/*.{h,c}' , 'ios/CodePush/SSZipArchive/minizip/*.{h,c}'
19
+
20
+ s . subspec 'Core' do |ss |
21
+ ss . source_files = 'ios/CodePush/*.{h,m}'
22
+ ss . public_header_files = [ 'ios/CodePush/CodePush.h' ]
24
23
end
25
-
26
- s . subspec 'NoZip' do |ss |
27
- ss . source_files = 'ios/CodePush/*.{h,m}'
24
+
25
+ s . subspec 'SSZipArchive' do |ss |
26
+ ss . source_files = 'ios/CodePush/SSZipArchive/*.{h,m}' , 'ios/CodePush/SSZipArchive/aes/*.{h,c}' , 'ios/CodePush/SSZipArchive/minizip/*.{h,c}'
27
+ ss . private_header_files = 'ios/CodePush/SSZipArchive/*.h' , 'ios/CodePush/SSZipArchive/aes/*.h' , 'ios/CodePush/SSZipArchive/minizip/*.h'
28
28
end
29
-
30
- end
29
+
30
+ end
0 commit comments