cocoapods-sled 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: 957f8d83bd19737a296d907ae0fc258ea9e4b56917af678ca9b7c259f3314380
|
4
|
+
data.tar.gz: 8a2827d022c2973963ceb815da8d3ac9ef590df377138c45a00201eb1e9ab667
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b64a51a3ae2661eb6b0066475fe973dbd651d9ef7e105e01b412e600e459becabdaf45936fd2256000a10eebce28bd4388c5510e367aecf47d8595eb815a021a
|
7
|
+
data.tar.gz: 688e4c86bebcb0daf0122ba6899f335fdd2ebeeeb40e6de6e347b48a4813cc557defdb6f30bfa68cba8bdf5b75d44566999411d5099272d57cf7a263034102e2
|
@@ -48,7 +48,7 @@ module Pod
|
|
48
48
|
if argv.flag?('header-search-path', false)
|
49
49
|
Podfile::DSL.sled_enable_generate_header_search_paths = true
|
50
50
|
end
|
51
|
-
|
51
|
+
unless argv.flag?('dev-pod', true)
|
52
52
|
Podfile::DSL.sled_disable_binary_cache_for_dev_pod = true
|
53
53
|
end
|
54
54
|
if argv.flag?('force-sync-dev-pod', false)
|
@@ -58,7 +58,7 @@ module Pod
|
|
58
58
|
# Installer.sled_reuse_type = :device
|
59
59
|
return unless Installer.sled_should_resure?
|
60
60
|
|
61
|
-
UI.section "查找#{Installer.sled_reuse_type_desc}
|
61
|
+
UI.section "查找#{Installer.sled_reuse_type_desc}二进制缓存" do
|
62
62
|
sled_reuse_action
|
63
63
|
end
|
64
64
|
end
|
@@ -90,7 +90,7 @@ module Pod
|
|
90
90
|
sled_totalTargets << target.name
|
91
91
|
|
92
92
|
if target.sled_local?
|
93
|
-
|
93
|
+
next if Podfile::DSL.sled_disable_binary_cache_for_dev_pod
|
94
94
|
sled_modify_pod_target(target)
|
95
95
|
else
|
96
96
|
sled_modify_pod_target(target)
|
@@ -132,7 +132,7 @@ module Pod
|
|
132
132
|
pod_root = sandbox.pod_dir(root_spec.name)
|
133
133
|
|
134
134
|
framework_dir_path = path + target.sled_framework_cache_subpath(Installer.sled_reuse_type_name)
|
135
|
-
framework_file_path = framework_dir_path + target.product_name
|
135
|
+
framework_file_path = framework_dir_path + target.product_name
|
136
136
|
|
137
137
|
if framework_file_path.directory?
|
138
138
|
path.utime(Time.now, Time.now)
|
@@ -147,12 +147,14 @@ module Pod
|
|
147
147
|
framework_dir_relative_path = framework_dir_path.relative_path_from(pod_root)
|
148
148
|
framework_file_relative_path = framework_file_path.relative_path_from(pod_root)
|
149
149
|
|
150
|
-
target.specs
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
150
|
+
if target.specs && !target.specs.empty?
|
151
|
+
target.specs.each do |spec|
|
152
|
+
sled_empty_source_files(spec)
|
153
|
+
sled_replace_resource_bundles(spec, framework_dir_relative_path.to_s)
|
154
|
+
sled_add_header_search_paths(spec, target, framework_file_path.to_s)
|
155
|
+
end
|
156
|
+
|
157
|
+
sled_add_vendered_framework(target.specs.first, framework_file_relative_path.to_s)
|
156
158
|
end
|
157
159
|
else
|
158
160
|
@sled_miss << target.name
|
@@ -188,7 +190,7 @@ module Pod
|
|
188
190
|
|
189
191
|
# spec.attributes_hash["source_files"] = framework_file_path + '/Headers/*.h'
|
190
192
|
# spec.attributes_hash["public_header_files"] = framework_file_path + '/Headers/*.h'
|
191
|
-
spec.attributes_hash["subspecs"] = nil
|
193
|
+
# spec.attributes_hash["subspecs"] = nil
|
192
194
|
end
|
193
195
|
|
194
196
|
# source_files 置空
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-sled
|
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
|
- 赵守文
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,10 +38,7 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description:
|
42
|
-
\ \n 1. **编译结果缓存**:利用缓存机制,复用编译结果,避免不必要的重复编译,从而提高开发效率。\n 2. **二进制化处理**:自动将可复用的依赖项转换为二进制格式,提升构建速度。\n
|
43
|
-
\ 3. **低接入成本**:易于集成,开发者可以快速将其加入到现有的Xcode项目中,无需复杂的配置和基建即可开始优化构建流程。\n \n Cocoapods-sled
|
44
|
-
致力于成为iOS项目构建优化的首选工具,帮助开发者以更低的成本实现更高效的开发流程。\n"
|
41
|
+
description: Cocoapods-sled 是一个简单易用的 Cocoapods 插件,通过缓存和复用Xcode编译结果完成二进制化
|
45
42
|
email:
|
46
43
|
- zsw19911017@163.com
|
47
44
|
executables: []
|
@@ -62,8 +59,6 @@ files:
|
|
62
59
|
- lib/cocoapods-sled/sandbox/path_list_ext.rb
|
63
60
|
- lib/cocoapods-sled/target/pod_target_ext.rb
|
64
61
|
- lib/cocoapods-sled/tool.rb
|
65
|
-
- lib/cocoapods/sled.rb
|
66
|
-
- lib/cocoapods/sled/version.rb
|
67
62
|
- lib/cocoapods_plugin.rb
|
68
63
|
homepage: https://github.com/git179979506/cocoapods-sled
|
69
64
|
licenses:
|
@@ -89,5 +84,5 @@ requirements: []
|
|
89
84
|
rubygems_version: 3.0.3.1
|
90
85
|
signing_key:
|
91
86
|
specification_version: 4
|
92
|
-
summary: Cocoapods-sled
|
87
|
+
summary: Cocoapods-sled 是一个简单易用的 Cocoapods 插件,通过缓存和复用Xcode编译结果完成二进制化
|
93
88
|
test_files: []
|