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 +4 -4
- data/README.md +1 -0
- data/lib/fastlane/plugin/cordova/actions/cordova_action.rb +13 -0
- data/lib/fastlane/plugin/cordova/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f01ce96a7d44f759ec1eecc294bb7daa8a53a55
|
4
|
+
data.tar.gz: 37d7246222432f7d981757adbbb0ea8d16962061
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
11
|
+
date: 2018-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|