carthage_cache 0.8.2 → 0.8.3
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/lib/carthage_cache/build_collector.rb +9 -7
- 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: 6ab673e65db5cb1ad9be9dc6d801c77f929b9801
|
4
|
+
data.tar.gz: 94ec477e9efa5bc86d0c4467a05a417510820559
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8804d8df4003d49ad01243d9b1bc4b42d685bc4692c82eeec59b5c73c196cfb22c8b9c6c51030a2d01c8ba16109b9ac5383ea8e231f2fc01b6da49401885bf2f
|
7
|
+
data.tar.gz: a6d6a9e4bd2790e341585a5ff5d21ff0da36a9b2b0590c5ef648e9b0e118e063681c9c9cd9713b9a7bca0b4a59051c63dd9c7a187ef90a90cb9e538911fa21d1
|
@@ -50,12 +50,14 @@ module CarthageCache
|
|
50
50
|
|
51
51
|
# Deletes .framework file
|
52
52
|
terminal.vputs "Deleting '#{framework_path}' ..."
|
53
|
-
FileUtils.rm_r(framework_path)
|
54
|
-
|
55
|
-
# Deletes .bcsymbolmap files
|
56
|
-
|
57
|
-
|
58
|
-
|
53
|
+
FileUtils.rm_r(framework_path) if File.exist?(framework_path)
|
54
|
+
|
55
|
+
# Deletes .bcsymbolmap files (needs .dSYM file)
|
56
|
+
if File.exist?(framework_dsym_path)
|
57
|
+
symbol_map_files(framework_dsym_path).each do |symbol_table_file|
|
58
|
+
terminal.vputs "Deleting '#{symbol_table_file}' ..."
|
59
|
+
FileUtils.rm(symbol_table_file) if File.exist?(symbol_table_file)
|
60
|
+
end
|
59
61
|
end
|
60
62
|
|
61
63
|
# Deletes .dSYM files
|
@@ -63,7 +65,7 @@ module CarthageCache
|
|
63
65
|
# in order to match .bcsymbolmap files with framework file
|
64
66
|
# we need to use .dSYM file with dwarfdump command.
|
65
67
|
terminal.vputs "Deleting '#{framework_dsym_path}' ..."
|
66
|
-
FileUtils.rm_r(framework_dsym_path)
|
68
|
+
FileUtils.rm_r(framework_dsym_path) if File.exist?(framework_dsym_path)
|
67
69
|
|
68
70
|
terminal.vputs ""
|
69
71
|
end
|