fastlane-plugin-ionic 0.0.3 → 0.0.4

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: b6eec2eb14314f04375f251a8a83d28c310ba63b
4
- data.tar.gz: 901a1527245a86578b3d0df24c1f98349cc7b9d6
3
+ metadata.gz: 05eda74ea8206f68043e2b98ac5b13ba71729c08
4
+ data.tar.gz: e1a8d6cd895a9aa0affcb4e4789aec3c469f5058
5
5
  SHA512:
6
- metadata.gz: 2cf5d0dd574748686010767ca61c356b83ac180b7960877c6cc769b78325091aba08d151520d5d7f8de4a32511c39d9e4eca29cf3422d96d6691c42857b181b6
7
- data.tar.gz: 25cd713d21cab83a37b6c0b98daca713c2e863b95a4c3d873b51e8ade8f3c67f2c482ab2897cdd4f254f3e6d90e100b95916057e93a814c622290c7ce70e7fe0
6
+ metadata.gz: 849af397d9278b12f3ab0f9e49071eecb227def87666043179d75fbd7c7ce3810f969de49564f9b3c67f69c627d8d7ebb59338d03af71de705fa4cce5e96b2ed
7
+ data.tar.gz: 8da34756a643d071a31b0f5441924a24d556b44e1a7caabf261a8bc435cf5cfef7cc7fb4159e19a6e72044f21cc5ef639bd3738017d1dfc722fed35dba3c18eb
@@ -38,6 +38,7 @@ module Fastlane
38
38
  # map action params to the cli param they will be used for
39
39
 
40
40
  def self.get_android_args(params)
41
+ # TODO document magic in README
41
42
  if params[:key_password].empty?
42
43
  params[:key_password] = params[:keystore_password]
43
44
  end
@@ -102,8 +103,11 @@ module Fastlane
102
103
  )
103
104
  end
104
105
 
105
- # TODO: extract params - only attach correct platform args
106
- sh "ionic cordova compile #{params[:platform]} #{args.join(' ')} -- #{ios_args} -- -- #{android_args}"
106
+ if params[:platform].to_s == 'ios'
107
+ sh "ionic cordova compile #{params[:platform]} #{args.join(' ')} -- #{ios_args}"
108
+ elsif params[:platform].to_s == 'android'
109
+ sh "ionic cordova compile #{params[:platform]} #{args.join(' ')} -- -- #{android_args}"
110
+ end
107
111
  end
108
112
 
109
113
  # export build paths (run #3)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Ionic
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-ionic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Piotrowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-15 00:00:00.000000000 Z
11
+ date: 2017-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry