gonative-cli 0.7.7 → 0.7.11

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
2
  SHA256:
3
- metadata.gz: 783811d5eaf98d601428f045ba69abda08f8f6ea4f02875d9a790ed967ba5e59
4
- data.tar.gz: 2a87c225115d86381982dec84c8cfd4a905b997cd772b8d626607be71bfd0455
3
+ metadata.gz: 854271bbcc313fd343e481cc848b6506e6d3ff3ee26c8a20bdb859d81479394b
4
+ data.tar.gz: 68a8e433fa009acb6ff6277d73e282e48de87bc3b2290b3406c3f3b088e64f9e
5
5
  SHA512:
6
- metadata.gz: '087f3f1b3e4fb5732447915680e38a9a8c4ce970d89550a836498cdb2e004e16fa39fc44edb8d09bdeefc99ed53ba51fb5dab1085b13f9f1a494ef0d50bf0d39'
7
- data.tar.gz: bf12167c53259d9e4f30cf258a48585580d6a9e2bbfbbeb38d1d7d83ef221bba5037de30c9eb1884fba9f0a6a578d48614b0b6f7da4b59dbcb69234d6bbed668
6
+ metadata.gz: 789d23afc197a55a4637338c8ba3bc91d6441ce19d01b3360266dcf6551369b2031fd9d8506761185e91010c9d334bde8f6e230557d870e07e3c3d8a8544142f
7
+ data.tar.gz: dbac4c0ca01ce39d412981edbef781c1fe340afccce62415ee8396e94238b810ebeead1625a5fb7b38c28d27e38bc7e50fa886fa915d397138a89e41d9c434df
@@ -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
- def call(name:, skip_build:, **)
12
+ def call(name:, skip_build:, debug:, **)
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.7"
4
+ VERSION = "0.7.11"
5
5
  end
@@ -1,4 +1,4 @@
1
- platform :ios, '10.0'
1
+ platform :ios, '11.0'
2
2
 
3
3
  source 'https://cdn.cocoapods.org/'
4
4
  source 'git@github.com:gonativeio/gonative-specs.git'
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.7
4
+ version: 0.7.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunaid Hassan