fastlane-plugin-cordova 2.2.1 → 3.0.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
- SHA1:
3
- metadata.gz: c4fcfa570f048818cf3d723a6942a70d9d3d0780
4
- data.tar.gz: 67d5599826b79a810d7603a773f5c1710cd3b8fd
2
+ SHA256:
3
+ metadata.gz: 8e99de8a0b61971ce82e999b29ca6e69149bf4cfd9d10878bc12c567630afdef
4
+ data.tar.gz: 1ee12a3b5401561de12fe1c3dda8d995a2bc368df1c9cdac38f168bcc992a967
5
5
  SHA512:
6
- metadata.gz: 91367a3f62c5e08efb41f2835be7ec46a90cdc71c1bcde9d7c40c78d646e19fa4bb9870dbcc102492d26e9d12c9da52dc3b778fecf6f3a9a01cf1cf8e1c88370
7
- data.tar.gz: 026b8be010fb912bf8f40fdb810654ad122bf22c4f52f9bf0c1f4b8a69c4624cd6f0219af1e2d6fa888a632581a2c3891f652f44d1d8ba5b000eb4c434e844b9
6
+ metadata.gz: e134266eecc26bdbf6662cf9f08bd60d1316590b5eded1ea9f67cccd6fec5e45daf39d362fede2d9194137be2e7a703826b03f1f97e8b5358fa4e7004b9e204c
7
+ data.tar.gz: db4ef75db27170061b9fae83c90b2648d8c4014bee40f95aeea845cf6303f6e13c875bf7ff839f68dfa41b0ddbabd3cb61a484fda666bdd4a87e0aa55a73ce1a
@@ -73,9 +73,9 @@ module Fastlane
73
73
  platform = params[:platform]
74
74
  if platform && !File.directory?("./platforms/#{platform}")
75
75
  if params[:cordova_no_fetch]
76
- sh "cordova platform add #{platform} --nofetch"
76
+ sh "npx --no-install cordova platform add #{platform} --nofetch"
77
77
  else
78
- sh "cordova platform add #{platform}"
78
+ sh "npx --no-install cordova platform add #{platform}"
79
79
  end
80
80
  end
81
81
  end
@@ -98,7 +98,7 @@ module Fastlane
98
98
  ios_args = self.get_ios_args(params) if params[:platform].to_s == 'ios'
99
99
 
100
100
  if params[:cordova_prepare]
101
- sh "cordova prepare #{params[:platform]} #{args.join(' ')} #{ios_args} -- #{android_args}"
101
+ sh "npx --no-install cordova prepare #{params[:platform]} #{args.join(' ')} #{ios_args} -- #{android_args}"
102
102
  end
103
103
 
104
104
  if params[:platform].to_s == 'ios' && !params[:build_number].to_s.empty?
@@ -112,14 +112,14 @@ module Fastlane
112
112
  )
113
113
  end
114
114
 
115
- sh "cordova compile #{params[:platform]} #{args.join(' ')} #{ios_args} -- #{android_args}"
115
+ sh "npx --no-install cordova compile #{params[:platform]} #{args.join(' ')} #{ios_args} -- #{android_args}"
116
116
  end
117
117
 
118
118
  def self.set_build_paths(is_release)
119
119
  app_name = self.get_app_name()
120
120
  build_type = is_release ? 'release' : 'debug'
121
121
 
122
- ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH'] = "./platforms/android/app/build/outputs/apk/release/app-#{build_type}.apk"
122
+ ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH'] = "./platforms/android/app/build/outputs/apk/#{build_type}/app-#{build_type}.apk"
123
123
  ENV['CORDOVA_IOS_RELEASE_BUILD_PATH'] = "./platforms/ios/build/device/#{app_name}.ipa"
124
124
  end
125
125
 
@@ -242,7 +242,7 @@ module Fastlane
242
242
  FastlaneCore::ConfigItem.new(
243
243
  key: :cordova_prepare,
244
244
  env_name: "CORDOVA_PREPARE",
245
- description: "Specifies whether to run `cordova prepare` before building",
245
+ description: "Specifies whether to run `npx cordova prepare` before building",
246
246
  default_value: true,
247
247
  is_string: false
248
248
  ),
@@ -256,7 +256,7 @@ module Fastlane
256
256
  FastlaneCore::ConfigItem.new(
257
257
  key: :cordova_no_fetch,
258
258
  env_name: "CORDOVA_NO_FETCH",
259
- description: "Call `cordova platform add` with `--nofetch` parameter",
259
+ description: "Call `npx cordova platform add` with `--nofetch` parameter",
260
260
  default_value: false,
261
261
  is_string: false
262
262
  ),
@@ -271,7 +271,7 @@ module Fastlane
271
271
  FastlaneCore::ConfigItem.new(
272
272
  key: :cordova_build_config_file,
273
273
  env_name: "CORDOVA_BUILD_CONFIG_FILE",
274
- description: "Call `cordova compile` with `--buildConfig=<ConfigFile>` to specify build config file path",
274
+ description: "Call `npx cordova compile` with `--buildConfig=<ConfigFile>` to specify build config file path",
275
275
  is_string: true,
276
276
  optional: true,
277
277
  default_value: ''
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Cordova
3
- VERSION = "2.2.1"
3
+ VERSION = "3.0.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.2.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Almouro
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-15 00:00:00.000000000 Z
11
+ date: 2020-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.111.0
97
- description:
97
+ description:
98
98
  email: contact@almouro.com
99
99
  executables: []
100
100
  extensions: []
@@ -110,7 +110,7 @@ homepage: https://github.com/almouro/fastlane-plugin-cordova
110
110
  licenses:
111
111
  - MIT
112
112
  metadata: {}
113
- post_install_message:
113
+ post_install_message:
114
114
  rdoc_options: []
115
115
  require_paths:
116
116
  - lib
@@ -125,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.4.5.1
130
- signing_key:
128
+ rubygems_version: 3.1.2
129
+ signing_key:
131
130
  specification_version: 4
132
131
  summary: Build your Cordova app
133
132
  test_files: []