fastlane-plugin-xamarin 0.3.0 → 0.4.0

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
  SHA256:
3
- metadata.gz: ffc3fbc9700bebc15aed6957ec956d5fa38961f594fbcbf89468a41b99e10e26
4
- data.tar.gz: 4751080058d014f80f6edf155f480e0c4319448772f23aa5c69a90dc68eca619
3
+ metadata.gz: c5859de7b5a917629ea2ad36cb11cc3b106fc01f8ef9e85c1211ea036bf3abe3
4
+ data.tar.gz: a6569306e5fffc3f14f879ebc3483f5ff3b2902f8291c3b8a9de21105cab2b85
5
5
  SHA512:
6
- metadata.gz: f811de8d49b8abae2d37e4eb1f01e910149276948ba2f504e5587115de206a921e3f0ada8aba7bbe4cb5f2c4bd6c31857e74c36fe42f5089aa74424f5fb26851
7
- data.tar.gz: c8acadfb9e82bf66d251f0c2dd469e053e2361b28d160b0c05594efb5dccae10e8d9e7ca4044d0f0d989e0fda0436b1d79a733690a308a2a43c7525a93ce6ffc
6
+ metadata.gz: 2c3f12edb98ce3b2dba4186cb264ef0086dacb706e80d23983e99c6211d6bb9dca47cb493d87e021c2f242345dd12a4619c932af10cfe9e5138c0939e85717bd
7
+ data.tar.gz: 87ca8020657f44ddff92729bada97ae32928e62802fb9b365ff4bedfc84f8bd782c868374c293833cc1155e91b493ee5d419c13922effcf5ff907040382b171e
@@ -2,11 +2,10 @@ module Fastlane
2
2
  module Actions
3
3
 
4
4
 
5
- class NugetAction < Action
5
+ class NugetRestoreAction < Action
6
6
  def self.run(params)
7
7
 
8
8
  nuget = params[:nuget] || FastlaneCore::CommandExecutor.which('nuget')
9
- mono = FastlaneCore::CommandExecutor.which('mono')
10
9
 
11
10
  if nuget.nil?
12
11
  UI.error("Could not find nuget")
@@ -21,9 +20,8 @@ module Fastlane
21
20
  end
22
21
  command = Array.new
23
22
 
24
- command.push(mono)
25
23
  command.push(nuget)
26
- command.push(params[:cmd])
24
+ command.push("restore")
27
25
  command.push(params[:project_path])
28
26
 
29
27
  exit_status = 0
@@ -56,8 +54,7 @@ module Fastlane
56
54
  end
57
55
 
58
56
  def self.details
59
- # Optional:
60
- "Nuget"
57
+ "Nuget restore"
61
58
  end
62
59
 
63
60
 
@@ -69,13 +66,6 @@ module Fastlane
69
66
  optional: false,
70
67
  type: String),
71
68
 
72
- FastlaneCore::ConfigItem.new(key: :cmd,
73
- env_name: "NUGET_COMMAND",
74
- description: "",
75
- default_value: 'restore',
76
- optional: true,
77
- type: String),
78
-
79
69
  FastlaneCore::ConfigItem.new(key: :nuget,
80
70
  env_name: "NUGET_PATH",
81
71
  description: "Path to `nuget`. Default value is found by using `which nuget`",
@@ -36,10 +36,10 @@ module Fastlane
36
36
  command.push("/p:EnableLLVM=#{params[:android_enable_llvm]}") unless params[:android_enable_llvm].nil?
37
37
  command.push("/p:EnableProguard=#{params[:android_enable_proguard]}") unless params[:android_enable_proguard].nil?
38
38
  command.push("/p:AndroidKeyStore=#{params[:android_keystore]}") unless params[:android_keystore].nil?
39
- command.push("/p:AndroidSigningKeyAlias=#{params[:android_signing_keystore]}") unless params[:android_signing_keystore].nil?
40
- command.push("/p:AndroidSigningKeyPass=#{params[:android_signing_storepass]}") unless params[:android_signing_storepass].nil?
41
- command.push("/p:AndroidSigningKeyStore=#{params[:android_signing_keyalias]}") unless params[:android_signing_keyalias].nil?
42
- command.push("/p:AndroidSigningStorePass=#{params[:android_signing_keypass]}") unless params[:android_signing_keypass].nil?
39
+ command.push("/p:AndroidSigningKeyAlias=#{params[:android_signing_keyalias]}") unless params[:android_signing_keyalias].nil?
40
+ command.push("/p:AndroidSigningKeyPass=#{params[:android_signing_keypass]}") unless params[:android_signing_keypass].nil?
41
+ command.push("/p:AndroidSigningKeyStore=#{params[:android_signing_keystore]}") unless params[:android_signing_keystore].nil?
42
+ command.push("/p:AndroidSigningStorePass=#{params[:android_signing_storepass]}") unless params[:android_signing_storepass].nil?
43
43
 
44
44
  exit_status = 0
45
45
  result = FastlaneCore::CommandExecutor.execute(command: command,
@@ -57,6 +57,7 @@ module Fastlane
57
57
 
58
58
  if file.include? "Signed"
59
59
  Actions.lane_context[SharedValues::XAMARIN_ANDROID_APK_SIGNED] = file
60
+ Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] = file
60
61
  else
61
62
  Actions.lane_context[SharedValues::XAMARIN_ANDROID_APK] = file
62
63
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Xamarin
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-xamarin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Charriere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-16 00:00:00.000000000 Z
11
+ date: 2018-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -103,7 +103,7 @@ files:
103
103
  - LICENSE
104
104
  - README.md
105
105
  - lib/fastlane/plugin/xamarin.rb
106
- - lib/fastlane/plugin/xamarin/actions/nuget_action.rb
106
+ - lib/fastlane/plugin/xamarin/actions/nuget_restore_action.rb
107
107
  - lib/fastlane/plugin/xamarin/actions/xamarin_android_action.rb
108
108
  - lib/fastlane/plugin/xamarin/actions/xamarin_ios_action.rb
109
109
  - lib/fastlane/plugin/xamarin/helper/xamarin_helper.rb