fastlane-plugin-cordova 0.2.1 → 0.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb18e398d29017c66d212f0e9b00ad08dd340eb8
|
|
4
|
+
data.tar.gz: 3b856a7736e3801c979a4ec2bdad3ca6a3995da3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c29a422ad9dbd505b771b78c298498e0c93686653d51209b61c782c62d7d1c9763d3964ec23d1975b05df9023d7bda5d6f2f146d0d16567a2eb0240869041983
|
|
7
|
+
data.tar.gz: f8cd469a70f2175ad287e92a452f67f4cfd4fc16fcc96242b7ca4d5cbda2ca189aff7463013ae1103f459ebb9be0305417e30d1dcbf894f4bf01f42436bec5c0
|
|
@@ -70,12 +70,13 @@ module Fastlane
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
def self.build(params)
|
|
73
|
-
|
|
74
|
-
device
|
|
73
|
+
args = [params[:release] ? '--release' : '--debug']
|
|
74
|
+
args << '--device' if params[:device]
|
|
75
|
+
args << '--browserify' if params[:browserify]
|
|
75
76
|
android_args = self.get_android_args(params) if params[:platform].to_s == 'android'
|
|
76
77
|
ios_args = self.get_ios_args(params) if params[:platform].to_s == 'ios'
|
|
77
78
|
|
|
78
|
-
sh "cordova build #{params[:platform]}
|
|
79
|
+
sh "cordova build #{params[:platform]} #{args.join(' ')} #{ios_args} -- #{android_args}"
|
|
79
80
|
end
|
|
80
81
|
|
|
81
82
|
def self.set_build_paths(is_release)
|
|
@@ -195,6 +196,13 @@ module Fastlane
|
|
|
195
196
|
default_value: 0,
|
|
196
197
|
is_string: false,
|
|
197
198
|
type: Numeric
|
|
199
|
+
),
|
|
200
|
+
FastlaneCore::ConfigItem.new(
|
|
201
|
+
key: :browserify,
|
|
202
|
+
env_name: "CORDOVA_BROWSERIFY",
|
|
203
|
+
description: "Specifies whether to browserify build or not",
|
|
204
|
+
default_value: false,
|
|
205
|
+
is_string: false
|
|
198
206
|
)
|
|
199
207
|
]
|
|
200
208
|
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: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Almouro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|