fastlane-plugin-build_cache 0.1.1 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b896fe290d8cef53e5e20a6b467c5fb280f77504
4
- data.tar.gz: 9a28b4317be2056a2ffabb15f2cc639d967a839d
3
+ metadata.gz: a7d0c0abd92a97084bf361b7575971dca9a77d3b
4
+ data.tar.gz: 5dd878b50ddc5dc2b87b57ed0d8de1847212813f
5
5
  SHA512:
6
- metadata.gz: 29cd1711ae0bdcbabec4fc84cf4590dbd015ce07897a5b0e3781a99270a9f298777c173c8bb343956cc76c24286f6fd08a9ec6e469700c4f280813e038da975d
7
- data.tar.gz: e361be04844f222061c73f9473f0dd4684160ad02cc44b39fcd114b1fd58f0d4b16c9752c8e1c9a545450cc31e606ee66fa9f0c686b2d9d2e91c4eeae9f890db
6
+ metadata.gz: 89206e61bd505ffb8041e45bf07444ca305b882ff63808a1fdafc8dc1f4722e239af8e148085187e03c815782a703ad15cb7341ddcd5ff4a64d96ea37d7249b5
7
+ data.tar.gz: 6bef6b8302d4a5911a7f9ee33d0dce191c73781ea85c255bf3cdd1d69fc5681e86257150145c303ae992c5652bccefa84c7f2a1d2bea86294f9f9f3b614b79bc
@@ -12,10 +12,18 @@ module Fastlane
12
12
 
13
13
  zip_tmp_path = File.join(derived_data_path_components.join('/'), build_identifier)
14
14
  zip_final_path = File.join(workspace_path, build_identifier)
15
+ build_intermediates_path = File.join(derived_data_path, 'Build', 'Intermediates')
15
16
 
16
17
  files_to_delete = [File.join(derived_data_path, 'ModuleCache'),
17
- File.join(derived_data_path, 'Logs'),
18
- File.join(derived_data_path, 'Build', 'Intermediates')]
18
+ File.join(derived_data_path, 'Logs')]
19
+
20
+ code_coverage_path = File.join(build_intermediates_path, 'CodeCoverage')
21
+ if File.exist?(code_coverage_path)
22
+ files_to_delete << File.join(code_coverage_path, 'Intermediates')
23
+ else
24
+ files_to_delete << build_intermediates_path
25
+ end
26
+
19
27
  files_to_delete << zip_tmp_path
20
28
  files_to_delete << zip_final_path
21
29
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module BuildCache
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-build_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Saragoca
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-19 00:00:00.000000000 Z
11
+ date: 2016-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: s3