cocoapods-linkline 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 +4 -4
- data/README.md +21 -2
- data/cocoapods-linkline-0.0.1.gem +0 -0
- data/cocoapods-linkline.gemspec +14 -2
- data/lib/cocoapods-linkline/command/linkline.rb +4 -4
- data/lib/cocoapods-linkline/command/targetdefinition-linkline.rb +2 -2
- data/lib/cocoapods-linkline/gem_version.rb +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d2c0efd0ec908ba8aa2d9f6771785a1d2c16e2c7159219a022d33aa398fe101
|
4
|
+
data.tar.gz: eaf346c94f056ffbd426d9c319c819eb148391825d99d8236e6cf2ecd2c8d146
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb434f3858afaf9f5680be0af5d38f11e3e9458d1497195674edc0e7ebcf4bf41685e2b4c389fc1a1261108d11570951d9e1d766f767262c614aa15616a5ee46
|
7
|
+
data.tar.gz: d2fb661e27afc2261456b16e4a6dea37918a7fc3ce965a3df4b3138c9849c910fe8ff1addc583f9494d2cc974de626990b53753924a4d996e18db1dc67b7fb54
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# cocoapods-linkline
|
2
2
|
|
3
|
-
A
|
3
|
+
A plug-in that can customize component dependencies, static libraries/dynamic libraries
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -8,4 +8,23 @@ A description of cocoapods-linkline.
|
|
8
8
|
|
9
9
|
## Usage
|
10
10
|
|
11
|
-
|
11
|
+
* Build the component and all child inherit dependencies with dynamic framework
|
12
|
+
```
|
13
|
+
pod 'xxx', :linkages => :dynamic
|
14
|
+
```
|
15
|
+
|
16
|
+
* Build the component itself with a dynamic framework
|
17
|
+
|
18
|
+
```
|
19
|
+
pod 'xxx', :linkage => :dynamic
|
20
|
+
```
|
21
|
+
|
22
|
+
* Build the component and all child inherit dependencies with static framework
|
23
|
+
```
|
24
|
+
pod 'xxx', :linkages => :static
|
25
|
+
```
|
26
|
+
|
27
|
+
* Build the component itself with a static framework
|
28
|
+
```
|
29
|
+
pod 'xxx', :linkage => :static
|
30
|
+
```
|
Binary file
|
data/cocoapods-linkline.gemspec
CHANGED
@@ -9,8 +9,20 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ['youhui']
|
10
10
|
spec.email = ['developer_yh@163.com']
|
11
11
|
spec.description = %q{A plug-in that can customize component dependencies, static libraries/dynamic libraries.}
|
12
|
-
spec.summary = %q{
|
13
|
-
|
12
|
+
spec.summary = %q{
|
13
|
+
Build the component and all child inherit dependencies with dynamic framework
|
14
|
+
|
15
|
+
pod 'xxx', :linkages => :dynamic
|
16
|
+
Build the component itself with a dynamic framework
|
17
|
+
|
18
|
+
pod 'xxx', :linkage => :dynamic
|
19
|
+
Build the component and all child inherit dependencies with static framework
|
20
|
+
|
21
|
+
pod 'xxx', :linkages => :static
|
22
|
+
Build the component itself with a static framework
|
23
|
+
|
24
|
+
pod 'xxx', :linkage => :static
|
25
|
+
}
|
14
26
|
spec.homepage = 'https://github.com/ymoyao/cocoapods-linkline'
|
15
27
|
spec.license = 'MIT'
|
16
28
|
|
@@ -2,16 +2,16 @@ require 'cocoapods'
|
|
2
2
|
require 'cocoapods/user_interface'
|
3
3
|
|
4
4
|
class Pod::Installer::Analyzer
|
5
|
-
alias_method :
|
5
|
+
alias_method :ll_original_generate_pod_targets, :generate_pod_targets
|
6
6
|
def generate_pod_targets(resolver_specs_by_target, target_inspections)
|
7
|
-
targets =
|
7
|
+
targets = ll_original_generate_pod_targets(resolver_specs_by_target, target_inspections)
|
8
8
|
targets.each { |target|
|
9
|
-
ll_rebuild_linkage(target,target
|
9
|
+
ll_rebuild_linkage(target,target)
|
10
10
|
}
|
11
11
|
targets
|
12
12
|
end
|
13
13
|
|
14
|
-
def ll_rebuild_linkage(pod_target,root_pod_target
|
14
|
+
def ll_rebuild_linkage(pod_target,root_pod_target)
|
15
15
|
ll_linkage,is_linkage_all = ll_fetch_linkage_from(pod_target)
|
16
16
|
if ll_linkage
|
17
17
|
build_type = ll_create_build_type_from(pod_target,ll_linkage)
|
@@ -21,13 +21,13 @@ module Pod
|
|
21
21
|
pod_linkage
|
22
22
|
end
|
23
23
|
|
24
|
-
|
24
|
+
ll_original_parse_inhibit_warnings = instance_method(:parse_inhibit_warnings)
|
25
25
|
define_method(:parse_inhibit_warnings) do |name, requirements|
|
26
26
|
@linkage ||= {}
|
27
27
|
@linkages ||= {}
|
28
28
|
@linkage = @linkage.merge(ll_expedition_linkages(name, requirements,:linkage))
|
29
29
|
@linkages = @linkages.merge(ll_expedition_linkages(name, requirements,:linkages))
|
30
|
-
|
30
|
+
ll_original_parse_inhibit_warnings.bind(self).call(name, requirements)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-linkline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- youhui
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- LICENSE.txt
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
|
+
- cocoapods-linkline-0.0.1.gem
|
54
55
|
- cocoapods-linkline.gemspec
|
55
56
|
- lib/cocoapods-linkline.rb
|
56
57
|
- lib/cocoapods-linkline/command.rb
|
@@ -83,8 +84,11 @@ requirements: []
|
|
83
84
|
rubygems_version: 3.1.2
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
|
-
summary:
|
87
|
-
|
87
|
+
summary: Build the component and all child inherit dependencies with dynamic framework pod
|
88
|
+
'xxx', :linkages => :dynamic Build the component itself with a dynamic framework pod
|
89
|
+
'xxx', :linkage => :dynamic Build the component and all child inherit dependencies
|
90
|
+
with static framework pod 'xxx', :linkages => :static Build the component itself
|
91
|
+
with a static framework pod 'xxx', :linkage => :static
|
88
92
|
test_files:
|
89
93
|
- spec/command/linkline_spec.rb
|
90
94
|
- spec/spec_helper.rb
|