pod-builder 0.8.5 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Example/Frameworks/PodBuilder.json +21 -0
- data/README.md +13 -0
- data/lib/pod_builder/configuration.rb +8 -0
- data/lib/pod_builder/podfile_item.rb +6 -0
- data/lib/pod_builder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cbb97e52556fff254a2d9c0cae0b2a1d4a39a0969c5a55c40d0cc86564e2a39
|
4
|
+
data.tar.gz: 62c268e2694a40312bd200eb7c84099ad9bfef0bfe19313caf33ff559a4b2dd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db57cdc026f03ad2991e8c8a63e736193ed9d95dd77178f88f429457949fa1083f7db3903bb714fff06f75f568e2c49f0d66a33f337427cfcada425d18e53aab
|
7
|
+
data.tar.gz: c4dd2a2b056ead5eede63102ad1598375d599e1ed23642e07cf0cbe4bd6a9f66fbdfe71ab35ca8368d13d96eb151a48cede6fa11297c25cf7a54745f320c3a97
|
@@ -3,6 +3,15 @@
|
|
3
3
|
"spec_overrides": {
|
4
4
|
"Google-Mobile-Ads-SDK": {
|
5
5
|
"module_name": "GoogleMobileAds"
|
6
|
+
},
|
7
|
+
"Firebase/Core": {
|
8
|
+
"module_name": "FirebaseCore"
|
9
|
+
},
|
10
|
+
"Firebase/Performance": {
|
11
|
+
"module_name": "FirebasePerformance"
|
12
|
+
},
|
13
|
+
"Firebase/RemoteConfig": {
|
14
|
+
"module_name": "FirebaseRemoteConfig"
|
6
15
|
}
|
7
16
|
},
|
8
17
|
"skip_licenses": [
|
@@ -10,6 +19,18 @@
|
|
10
19
|
],
|
11
20
|
"skip_pods": [
|
12
21
|
|
22
|
+
],
|
23
|
+
"force_prebuild_pods": [
|
24
|
+
"FirebaseAnalytics",
|
25
|
+
"FirebaseAnalyticsInterop",
|
26
|
+
"Firebase/Core",
|
27
|
+
"Firebase/CoreOnly",
|
28
|
+
"FirebaseCoreDiagnosticsInterop",
|
29
|
+
"FirebasePerformance",
|
30
|
+
"Firebase/Performance",
|
31
|
+
"FirebaseRemoteConfig",
|
32
|
+
"GoogleAppMeasurement",
|
33
|
+
"GoogleToolboxForMac"
|
13
34
|
],
|
14
35
|
"build_settings": {
|
15
36
|
"ENABLE_BITCODE": "NO",
|
data/README.md
CHANGED
@@ -186,6 +186,19 @@ You may want to skip some pods to be prebuilt, you can do that as follows:
|
|
186
186
|
]
|
187
187
|
}
|
188
188
|
```
|
189
|
+
|
190
|
+
|
191
|
+
### `force_prebuild_pods`
|
192
|
+
|
193
|
+
You may want to force some pods to be prebuilt, this might be the case for prebuilt ones (pods with a single vendored .framework) which are dependencies of othere pods
|
194
|
+
|
195
|
+
```json
|
196
|
+
{
|
197
|
+
"force_prebuild_pods": [
|
198
|
+
"PodA"
|
199
|
+
]
|
200
|
+
}
|
201
|
+
```
|
189
202
|
|
190
203
|
|
191
204
|
#### `build_settings`
|
@@ -29,6 +29,7 @@ module PodBuilder
|
|
29
29
|
attr_accessor :spec_overrides
|
30
30
|
attr_accessor :skip_licenses
|
31
31
|
attr_accessor :skip_pods
|
32
|
+
attr_accessor :force_prebuild_pods
|
32
33
|
attr_accessor :license_filename
|
33
34
|
attr_accessor :subspecs_to_split
|
34
35
|
attr_accessor :development_pods_paths
|
@@ -51,6 +52,7 @@ module PodBuilder
|
|
51
52
|
@spec_overrides = DEFAULT_SPEC_OVERRIDE
|
52
53
|
@skip_licenses = []
|
53
54
|
@skip_pods = []
|
55
|
+
@force_prebuild_pods = []
|
54
56
|
@license_filename = "Pods-acknowledgements"
|
55
57
|
@subspecs_to_split = []
|
56
58
|
@development_pods_paths = []
|
@@ -102,6 +104,11 @@ module PodBuilder
|
|
102
104
|
Configuration.skip_pods = value
|
103
105
|
end
|
104
106
|
end
|
107
|
+
if value = json["force_prebuild_pods"]
|
108
|
+
if value.is_a?(Array) && value.count > 0
|
109
|
+
Configuration.force_prebuild_pods = value
|
110
|
+
end
|
111
|
+
end
|
105
112
|
if value = json["build_settings"]
|
106
113
|
if value.is_a?(Hash) && value.keys.count > 0
|
107
114
|
Configuration.build_settings = value
|
@@ -174,6 +181,7 @@ module PodBuilder
|
|
174
181
|
config["spec_overrides"] = Configuration.spec_overrides
|
175
182
|
config["skip_licenses"] = Configuration.skip_licenses
|
176
183
|
config["skip_pods"] = Configuration.skip_pods
|
184
|
+
config["force_prebuild_pods"] = Configuration.force_prebuild_pods
|
177
185
|
config["build_settings"] = Configuration.build_settings
|
178
186
|
config["build_settings_overrides"] = Configuration.build_settings_overrides
|
179
187
|
config["build_system"] = Configuration.build_system
|
@@ -207,6 +207,10 @@ module PodBuilder
|
|
207
207
|
# @return [Bool] True if it's a pod that doesn't provide source code (is already shipped as a prebuilt pod)
|
208
208
|
#
|
209
209
|
def is_prebuilt
|
210
|
+
if Configuration.force_prebuild_pods.include?(@root_name) || Configuration.force_prebuild_pods.include?(@name)
|
211
|
+
return false
|
212
|
+
end
|
213
|
+
|
210
214
|
# We treat pods to skip like prebuilt ones
|
211
215
|
if Configuration.skip_pods.include?(@root_name) || Configuration.skip_pods.include?(@name)
|
212
216
|
return true
|
@@ -303,6 +307,8 @@ module PodBuilder
|
|
303
307
|
|
304
308
|
if Configuration.subspecs_to_split.include?(name)
|
305
309
|
entry = "pod 'PodBuilder/#{podspec_name}', :path => '#{relative_path}'"
|
310
|
+
elsif override_name = Configuration.spec_overrides.dig(name, "module_name")
|
311
|
+
entry = "pod 'PodBuilder/#{override_name}', :path => '#{relative_path}'"
|
306
312
|
else
|
307
313
|
entry = "pod 'PodBuilder/#{root_name}', :path => '#{relative_path}'"
|
308
314
|
end
|
data/lib/pod_builder/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pod-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Camin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|