carthage_cache 0.8.2 → 0.8.3

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: fa8555123efd320912ec25e8f6d233efbd174412
4
- data.tar.gz: 51a95d86367a2f36db418a45f703765c65754e4f
3
+ metadata.gz: 6ab673e65db5cb1ad9be9dc6d801c77f929b9801
4
+ data.tar.gz: 94ec477e9efa5bc86d0c4467a05a417510820559
5
5
  SHA512:
6
- metadata.gz: ff943e2064fb53a227d152c3919bf9d4094630334a87a6ff88c774903648eac774230ce4c1ec625bc949c818d71ef3077101f2cb559a8a1f6c9d526e85d0789b
7
- data.tar.gz: ad9e8a8b3f461fa419e6dabe47255cd724af53f1c3eaf7866fedb6db936cadfdf8ae05a8fbd7ec474f7412e701ea1bf8e206db09097ac0795e1d56291d674738
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
- symbol_map_files(framework_dsym_path).each do |symbol_table_file|
57
- terminal.vputs "Deleting '#{symbol_table_file}' ..."
58
- FileUtils.rm(symbol_table_file)
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
@@ -1,3 +1,3 @@
1
1
  module CarthageCache
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
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.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guido Marucci Blas