akcache 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/kcache +1 -1
- data/lib/kcache/version.rb +1 -1
- data/lib/kcache.rb +14 -4
- 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: 890961de10e634c3aecdfabf9e89d93b78c50a310e04e44d3ea75c0fb4565c53
|
4
|
+
data.tar.gz: a7f2473162f65bc4f67a66abb1d7a93e97a2647a720856900671b43850bf9036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 765afe47fcc2df2d63095d49c8817b6212efa7c64d768a97105da8626075244de37bfb0549af153e08d910dc06c0f37a10775179094f7923f4d061e452ba3cbb
|
7
|
+
data.tar.gz: 87006aa95d29ec372f9e28d88b6c0c70d397a297f9019af031d3bb0503117f8be061d4a02e18e168a27edecdd1e6fbc418ee9f6cb5f9a2b118bf03a01b08c052
|
data/bin/kcache
CHANGED
data/lib/kcache/version.rb
CHANGED
data/lib/kcache.rb
CHANGED
@@ -9,7 +9,6 @@ require "find"
|
|
9
9
|
require 'set'
|
10
10
|
|
11
11
|
#配置
|
12
|
-
Target_Build_Configuration = "Release"
|
13
12
|
|
14
13
|
TARGET_CACHE_CONFIG = "target_cache_config.yml"
|
15
14
|
|
@@ -36,6 +35,7 @@ OBJROOT = "OBJROOT"
|
|
36
35
|
|
37
36
|
|
38
37
|
#变量
|
38
|
+
$target_build_configuration = "Release"
|
39
39
|
$podfile_spec_checksums = nil
|
40
40
|
$file_md5_hash = {}
|
41
41
|
$exclude_target = []
|
@@ -188,7 +188,7 @@ class CacheManager
|
|
188
188
|
$podfile_spec_checksums = podfile_lock["SPEC CHECKSUMS"]
|
189
189
|
end
|
190
190
|
|
191
|
-
project_configuration = project.build_configurations.detect { | config | config.name ==
|
191
|
+
project_configuration = project.build_configurations.detect { | config | config.name == $target_build_configuration}
|
192
192
|
project_configuration_content = project_configuration.pretty_print.to_yaml
|
193
193
|
|
194
194
|
project_xcconfig = ""
|
@@ -199,7 +199,7 @@ class CacheManager
|
|
199
199
|
end
|
200
200
|
end
|
201
201
|
|
202
|
-
target_configuration = target.build_configurations.detect { | config | config.name ==
|
202
|
+
target_configuration = target.build_configurations.detect { | config | config.name == $target_build_configuration}
|
203
203
|
target_configuration_content = target_configuration.pretty_print.to_yaml
|
204
204
|
|
205
205
|
target_xcconfig = ""
|
@@ -514,7 +514,17 @@ class CacheManager
|
|
514
514
|
end
|
515
515
|
|
516
516
|
|
517
|
-
def project_task_begin
|
517
|
+
def project_task_begin(argv)
|
518
|
+
|
519
|
+
argv.each do |prama|
|
520
|
+
if prama.include? "configuration"
|
521
|
+
if prama.include? "Debug"
|
522
|
+
$target_build_configuration = "Debug"
|
523
|
+
elsif prama.include? "Release"
|
524
|
+
$target_build_configuration = "Release"
|
525
|
+
end
|
526
|
+
end
|
527
|
+
end
|
518
528
|
|
519
529
|
projects = get_projects
|
520
530
|
total_count = 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: akcache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yusheng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xcodeproj
|