gonative-cli 0.7.9 → 0.7.10

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
  SHA256:
3
- metadata.gz: 38b17cc5da62d5659bc36fc9ee757de00c851aac06fac944856d24f8524ac495
4
- data.tar.gz: cee55ca0b7ece404ff2e9adbd80e9e9c4dbaeddee936464be8fed30a8a824e34
3
+ metadata.gz: 31fad5d79eb36ce733d7c9c979bad4a81966fdd6d1f7818c714824d35e53fae9
4
+ data.tar.gz: cf56c07f704a5ebfda29bd05a7299bd004ea58dee0d8ce68d08792b60d8b37ba
5
5
  SHA512:
6
- metadata.gz: fb493f284b05fd555d6a093a29bf7d4b2a154e6a115517fd95b2bdd29d23e02be91443f1c564a08b213a4079f986b08a24e16cfad75abd1678ae16158fc39e56
7
- data.tar.gz: 65f8757063d301a4dd2fee7c98bba92924f3e33dcdcf82b12b1cdcef717d7e1f409d4c2be8a852c6549739fa83923f0c1520a0b181233d4677fd325dd7d85008
6
+ metadata.gz: 42c162e484360849708cc13ba8273f99b6a4d98f00778470d5a150cc1d6487f055c7d4172bcec135c24c2e12ae9f4031ea8faece3d12ba283982c335485a2d83
7
+ data.tar.gz: 4a6f235bffffc52bf2eaa34c032fb601d775a6ce2a86fc2b2df139bb95cb53a26dc6867f189c89d8def1895b810e1d8dc275c76c098b7db62b3c5fe4963af6e2
@@ -7,10 +7,11 @@ module GoNative
7
7
  desc 'Verify, build and release a new version'
8
8
  argument :name, required: true, desc: 'Name of the plugin'
9
9
  option :skip_build, type: :boolean, default: false
10
+ option :debug, type: :boolean, default: false
10
11
 
11
12
  def call(name:, skip_build:, **)
12
13
  Plugins::IOS::Verify.call
13
- Plugins::IOS::BuildFramework.call(name) unless skip_build
14
+ Plugins::IOS::BuildFramework.call(name, debug) unless skip_build
14
15
  Plugins::IOS::Release.call
15
16
  end
16
17
  end
@@ -14,10 +14,11 @@ module GoNative
14
14
 
15
15
  BUILD_TEMPLATE_DIRECTORY_PATH = File.expand_path(File.join(__dir__, '../../../..', 'templates', 'build', 'ios'))
16
16
 
17
- attr_reader :plugin_name
17
+ attr_reader :plugin_name, :persist_build_dir
18
18
 
19
- def initialize(plugin_name)
19
+ def initialize(plugin_name, persist_build_dir)
20
20
  @plugin_name = plugin_name
21
+ @persist_build_dir = persist_build_dir
21
22
  end
22
23
 
23
24
  def call
@@ -30,7 +31,7 @@ module GoNative
30
31
  move_framework_file
31
32
  ensure
32
33
  FileUtils.cd('..')
33
- FileUtils.rm_rf('build')
34
+ FileUtils.rm_rf('build') unless persist_build_dir
34
35
  end
35
36
 
36
37
  def setup_dirs
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoNative
4
- VERSION = "0.7.9"
4
+ VERSION = "0.7.10"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gonative-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunaid Hassan