cocoapods-kz 0.0.1 → 0.0.2
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: 18e1dd57432a470374b85e1794cf69de70759adb36f68c49c7728938ee14a4be
|
|
4
|
+
data.tar.gz: a3817262cf67e2e65481738f5cd9ea4f8f4af4ea70a8b763a1ea4260edcc7b0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f34e514bf9be6dfc1932d3d6c636150a168613a0576070d606d22fc750c11065a8a4ba7545a4b807d80490a174d0977703a7cd639cb36aa0ae5670fe8f9eea43
|
|
7
|
+
data.tar.gz: e59798c2da8fd42bed9ec76532799256a304d611ea0a94a7e9c38db515d9a0cea69a25e222b13f5f2c8d186eebc720c8b734c7e24c1efb2be8160adc5c895815
|
|
@@ -8,9 +8,11 @@ module Pod
|
|
|
8
8
|
def generate_targets(resolver_specs_by_target, target_inspections)
|
|
9
9
|
aggregate_targets, pod_targets = original_generate_targets(resolver_specs_by_target, target_inspections)
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
if KZ::KZGlobalHelper.instance.kz_pod_enable
|
|
12
|
+
kz_analyer = KZ::KZAnalyzer.new(pod_targets, self.sandbox.development_pods)
|
|
13
|
+
kz_analyer.analyer
|
|
14
|
+
KZ::KZGlobalHelper.instance.kz_analyzer = kz_analyer
|
|
15
|
+
end
|
|
14
16
|
|
|
15
17
|
[aggregate_targets, pod_targets]
|
|
16
18
|
end
|
|
@@ -29,14 +29,6 @@ module Pod
|
|
|
29
29
|
KZ::KZGlobalHelper.instance.kz_pod_config.merge!(kz_pod_config)
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
def pod(name = nil, *requirements)
|
|
33
|
-
unless name
|
|
34
|
-
raise StandardError, 'A dependency requires a name.'
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
current_target_definition.store_pod(name, *requirements)
|
|
38
|
-
end
|
|
39
|
-
|
|
40
32
|
end
|
|
41
33
|
end
|
|
42
34
|
end
|
|
@@ -10,24 +10,26 @@ module Pod
|
|
|
10
10
|
def integrate_user_project
|
|
11
11
|
original_integrate_user_project
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
if KZ::KZGlobalHelper.instance.kz_pod_enable
|
|
14
|
+
main_project = self.aggregate_targets.first.user_project
|
|
15
|
+
pods_project = self.pods_project
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
puts 'Config Xml Build Rules'
|
|
18
|
+
KZ::XmlBuildConfig.new(main_project, pods_project).config_project
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
puts 'Config Framework Strip'
|
|
21
|
+
KZ::StripFrameworkConfig.new(main_project, pods_project).config_project
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
puts 'Config Framework Build'
|
|
24
|
+
KZ::BuildFrameworkConfig.new(main_project, pods_project).config_project
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
puts 'Config Hmap'
|
|
27
|
+
KZ::CreateHmap.new(main_project, pods_project).config_project
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
main_project.save
|
|
30
|
+
pods_project.save
|
|
31
|
+
puts 'Config Done'
|
|
32
|
+
end
|
|
31
33
|
end
|
|
32
34
|
end
|
|
33
35
|
end
|