fastlane-plugin-cordova 2.1.0 → 2.2.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
  SHA1:
3
- metadata.gz: 74c0ead2545b310f8626b27d51d0a4c88885261b
4
- data.tar.gz: e493fdb86bd7063b0bf70333eaf2dfe9dc82fca9
3
+ metadata.gz: 9f01ce96a7d44f759ec1eecc294bb7daa8a53a55
4
+ data.tar.gz: 37d7246222432f7d981757adbbb0ea8d16962061
5
5
  SHA512:
6
- metadata.gz: bd74bc4682c6d7a1eb0538e8a8c971ac766656e9a05c5742129b3c4ad2cbb422cba5d287180b715250142dde119d1dcd25547f454601e3bd15f959fa38cf4351
7
- data.tar.gz: bcfc63a31f86e64ad648bb1701b781b292fb105b0a5631b151d4405af8d3d451a571ac90430a551311892fb429bf4dd666ceab3b9385a0526f7857da4819d69c
6
+ metadata.gz: f3d4d7fee68cdba24c77e757a67662b1e5b3affe362dde6e08fab7781f44b999b6ceb6f527a321e3bca19b4eedb7aafddec412aad1dcb8a2894d964fcea04cd9
7
+ data.tar.gz: 34c606673882c783a18db009936c694f3256b59b214c773b6a415f2a6f23352fdac688362a9c39439397b4c8707df2049b8a1f0e2fcf068320b171dbf304ce64
data/README.md CHANGED
@@ -90,6 +90,7 @@ Which will produce:
90
90
  | **browserify** | Specifies whether to browserify build or not | CORDOVA_BROWSERIFY | *false* |
91
91
  | **cordova_prepare** | Specifies whether to run `cordova prepare` before building | CORDOVA_PREPARE | *true* |
92
92
  | **cordova_no_fetch** | Specifies whether to run `cordova platform add` with `--nofetch` parameter | CORDOVA_NO_FETCH | *false* |
93
+ | **cordova_build_config_file** | Call `cordova compile` with `--buildConfig=<ConfigFile>` to specify build config file path | CORDOVA_BUILD_CONFIG_FILE | |
93
94
 
94
95
  ## Run tests for this plugin
95
96
 
@@ -89,6 +89,11 @@ module Fastlane
89
89
  args = [params[:release] ? '--release' : '--debug']
90
90
  args << '--device' if params[:device]
91
91
  args << '--browserify' if params[:browserify]
92
+
93
+ if !params[:cordova_build_config_file].to_s.empty?
94
+ args << "--buildConfig=#{Shellwords.escape(params[:cordova_build_config_file])}"
95
+ end
96
+
92
97
  android_args = self.get_android_args(params) if params[:platform].to_s == 'android'
93
98
  ios_args = self.get_ios_args(params) if params[:platform].to_s == 'ios'
94
99
 
@@ -262,6 +267,14 @@ module Fastlane
262
267
  is_string: false,
263
268
  optional: true,
264
269
  default_value: []
270
+ ),
271
+ FastlaneCore::ConfigItem.new(
272
+ key: :cordova_build_config_file,
273
+ env_name: "CORDOVA_BUILD_CONFIG_FILE",
274
+ description: "Call `cordova compile` with `--buildConfig=<ConfigFile>` to specify build config file path",
275
+ is_string: true,
276
+ optional: true,
277
+ defaultValue: ''
265
278
  )
266
279
  ]
267
280
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Cordova
3
- VERSION = "2.1.0"
3
+ VERSION = "2.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-cordova
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Almouro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-08 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry