fastlane-plugin-xamarin 0.4.0 → 0.5.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
  SHA256:
3
- metadata.gz: c5859de7b5a917629ea2ad36cb11cc3b106fc01f8ef9e85c1211ea036bf3abe3
4
- data.tar.gz: a6569306e5fffc3f14f879ebc3483f5ff3b2902f8291c3b8a9de21105cab2b85
3
+ metadata.gz: 5674699b82d46cd2ccfd09c946589d09f75b9ad68c0b12eeb5fba3c3987f4057
4
+ data.tar.gz: bd24b38687f192a6362538e4bff076b0eefb1d28e00b921e8054dca4666920b1
5
5
  SHA512:
6
- metadata.gz: 2c3f12edb98ce3b2dba4186cb264ef0086dacb706e80d23983e99c6211d6bb9dca47cb493d87e021c2f242345dd12a4619c932af10cfe9e5138c0939e85717bd
7
- data.tar.gz: 87ca8020657f44ddff92729bada97ae32928e62802fb9b365ff4bedfc84f8bd782c868374c293833cc1155e91b493ee5d419c13922effcf5ff907040382b171e
6
+ metadata.gz: 8a7aa533f036b9aa136ea7530c676a04a6aecf8af353d3ab09e39b44a2445cc3f309712a41ebd72eb4ccee9002a2ffc586794825251612cd77b713e64b6835a1
7
+ data.tar.gz: c39ce82cf6949b272bf044bef20d8caeea54b30e7b952ce64c32a7a36ba3ac2ea804de53fe229b6203adefd64d768a085df0e9e1d0e043fb1b4b686e2e0461f4
@@ -0,0 +1,47 @@
1
+ require 'fileutils'
2
+
3
+ module Fastlane
4
+ module Actions
5
+
6
+ class CleanAction < Action
7
+ def self.run(params)
8
+
9
+ Dir.glob('**/bin').each do |f|
10
+ FileUtils.rm_rf(f) if File.directory?(f)
11
+ end
12
+
13
+ Dir.glob('**/obj').each do |f|
14
+ FileUtils.rm_rf(f) if File.directory?(f)
15
+ end
16
+
17
+ end
18
+
19
+ def self.description
20
+ "Clean artifacts"
21
+ end
22
+
23
+ def self.authors
24
+ ["Thomas Charriere"]
25
+ end
26
+
27
+ def self.return_value
28
+ # If your method provides a return value, you can describe here what it does
29
+ end
30
+
31
+ def self.details
32
+ "Clean bin and bin folders - best done before a build"
33
+ end
34
+
35
+
36
+ def self.available_options
37
+ [
38
+ ]
39
+
40
+ end
41
+
42
+ def self.is_supported?(platform)
43
+ [:android, :ios].include?(platform)
44
+ end
45
+ end
46
+ end
47
+ end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Xamarin
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-xamarin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Charriere
@@ -103,6 +103,7 @@ files:
103
103
  - LICENSE
104
104
  - README.md
105
105
  - lib/fastlane/plugin/xamarin.rb
106
+ - lib/fastlane/plugin/xamarin/actions/clean_action.rb
106
107
  - lib/fastlane/plugin/xamarin/actions/nuget_restore_action.rb
107
108
  - lib/fastlane/plugin/xamarin/actions/xamarin_android_action.rb
108
109
  - lib/fastlane/plugin/xamarin/actions/xamarin_ios_action.rb