carthage_cache 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carthage_cache/build_collector.rb +12 -2
- data/lib/carthage_cache/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa8555123efd320912ec25e8f6d233efbd174412
|
4
|
+
data.tar.gz: 51a95d86367a2f36db418a45f703765c65754e4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff943e2064fb53a227d152c3919bf9d4094630334a87a6ff88c774903648eac774230ce4c1ec625bc949c818d71ef3077101f2cb559a8a1f6c9d526e85d0789b
|
7
|
+
data.tar.gz: ad9e8a8b3f461fa419e6dabe47255cd724af53f1c3eaf7866fedb6db936cadfdf8ae05a8fbd7ec474f7412e701ea1bf8e206db09097ac0795e1d56291d674738
|
@@ -47,14 +47,24 @@ module CarthageCache
|
|
47
47
|
def delete_framework_files(framework_path)
|
48
48
|
framework_dsym_path = "#{framework_path}.dSYM"
|
49
49
|
terminal.vputs "Deleting #{framework_name(framework_path)} files because they are no longer needed ..."
|
50
|
-
|
51
|
-
|
50
|
+
|
51
|
+
# Deletes .framework file
|
52
52
|
terminal.vputs "Deleting '#{framework_path}' ..."
|
53
53
|
FileUtils.rm_r(framework_path)
|
54
|
+
|
55
|
+
# Deletes .bcsymbolmap files
|
54
56
|
symbol_map_files(framework_dsym_path).each do |symbol_table_file|
|
55
57
|
terminal.vputs "Deleting '#{symbol_table_file}' ..."
|
56
58
|
FileUtils.rm(symbol_table_file)
|
57
59
|
end
|
60
|
+
|
61
|
+
# Deletes .dSYM files
|
62
|
+
# .dSYM file MUST be deleted after .bcsymbolmap files because
|
63
|
+
# in order to match .bcsymbolmap files with framework file
|
64
|
+
# we need to use .dSYM file with dwarfdump command.
|
65
|
+
terminal.vputs "Deleting '#{framework_dsym_path}' ..."
|
66
|
+
FileUtils.rm_r(framework_dsym_path)
|
67
|
+
|
58
68
|
terminal.vputs ""
|
59
69
|
end
|
60
70
|
|