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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdeb2c1edb2a91fad5618b77bdce1b3a9bc47805
4
- data.tar.gz: 268f0b7787a0483b3560750d343d588885a37b50
3
+ metadata.gz: fa8555123efd320912ec25e8f6d233efbd174412
4
+ data.tar.gz: 51a95d86367a2f36db418a45f703765c65754e4f
5
5
  SHA512:
6
- metadata.gz: bef1b5390c853648e71cdbffcf06dc94830be0ee5bd45460fab484616cf323cc53355e4cf9327b636a19952ac2ad67a11f50032418ef985c34a2c371aece40ce
7
- data.tar.gz: 6cdfcc331e81e216964c4660ec1bdde7325880e3678c91ea13b4bb383b76289418e1f3eb644838841fdec3567676e69c2a631e619f7e77fef8a4d0fe114c191c
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
- terminal.vputs "Deleting '#{framework_dsym_path}' ..."
51
- FileUtils.rm_r(framework_dsym_path)
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
 
@@ -1,3 +1,3 @@
1
1
  module CarthageCache
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carthage_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guido Marucci Blas