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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31fad5d79eb36ce733d7c9c979bad4a81966fdd6d1f7818c714824d35e53fae9
|
4
|
+
data.tar.gz: cf56c07f704a5ebfda29bd05a7299bd004ea58dee0d8ce68d08792b60d8b37ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/gonative/version.rb
CHANGED