cocoapods-force-static-framework 0.0.7 → 0.0.8
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a2772e729b9b5365032e4d59d3c497e6e21f04d25e1ed93c6d5cb6573775e92
|
|
4
|
+
data.tar.gz: bcc5c85a2483dd37e4eba2108a6250e8b3056a602bea3f21213674433e353726
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95a514978a0fdd5bfe5dbc57cc08a6130d680bf2142a97755643c48e350c951f93ca34977094cb169c4e9421d64dbc6c4942765ca589d8d925fc58053b76abb0
|
|
7
|
+
data.tar.gz: 78ece6a27667b739cef5c910bf2e74ab80cab8aa2c3fcb84614842853b98a247f210decb917087f812577b4c66bfda4e2546ec1951a4e7508f5a03eac1014290
|
|
@@ -56,12 +56,22 @@ end
|
|
|
56
56
|
|
|
57
57
|
Pod::HooksManager.register('cocoapods-force-static-framework', :pre_install) do |context, options|
|
|
58
58
|
reval = options[:static_frameworks]
|
|
59
|
-
if reval and reval
|
|
59
|
+
if reval and reval == true
|
|
60
60
|
Pod.store_all_framework_static(true)
|
|
61
61
|
elsif reval and reval.instance_of? Array
|
|
62
62
|
Pod.store_static_framework_names(reval)
|
|
63
63
|
else
|
|
64
|
-
raise Pod::Informative, "请正确设置:static_frameworks, 示例: plugin 'cocoapods-force-static-framework', :static_frameworks => ['RxSwift']"
|
|
64
|
+
raise Pod::Informative, "请正确设置:static_frameworks, 示例: plugin 'cocoapods-force-static-framework', :static_frameworks => ['RxSwift', ...] / all"
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
module Pod
|
|
70
|
+
class Podfile
|
|
71
|
+
module DSL
|
|
72
|
+
def all
|
|
73
|
+
true
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
67
77
|
end
|