gonative-cli 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gonative.rb +1 -0
- data/lib/gonative/plugins/ios/publish.rb +9 -4
- data/lib/gonative/utils/ui.rb +15 -0
- data/lib/gonative/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 690305498ca8ab6181d0e80242d605e1b0e5973baa6a3fca46fe50b397dc1198
|
4
|
+
data.tar.gz: dc5ed22127d3202d50fe568b566de50a18437b8824c69e89ccb97de6088b06e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d925ca5a5452a8e8f2ccbbf7d59afd6a69d098cfe3a64cceb03b497176c30725530ccb767b7d283efdbbff9542e3db894854c96232f765f6487aad0ffcf22211
|
7
|
+
data.tar.gz: 71d61a4112ad9a67545f846071952b27f353b5d019b89c59ae08b73015f031ea8e27ae1ae6bd41df9df35a91ea11d25dcff27ab52b70d9d0c432c1ab9d6ee038
|
data/Gemfile.lock
CHANGED
data/lib/gonative.rb
CHANGED
@@ -11,6 +11,7 @@ module GoNative
|
|
11
11
|
|
12
12
|
def call
|
13
13
|
assert_valid_plugin!
|
14
|
+
build_framework!
|
14
15
|
release_pod!
|
15
16
|
end
|
16
17
|
|
@@ -21,13 +22,17 @@ module GoNative
|
|
21
22
|
end
|
22
23
|
|
23
24
|
def build_framework!
|
24
|
-
|
25
|
-
system('sh create-framework.sh')
|
25
|
+
Utils::UI.info 'Building framework'
|
26
|
+
return if system('sh create-framework.sh >/dev/null 2>/dev/null')
|
27
|
+
|
28
|
+
raise Error, "Error building framework. Please run the create-framework file manually to fix any errors"
|
26
29
|
end
|
27
30
|
|
28
31
|
def release_pod!
|
29
|
-
|
30
|
-
system('pod release')
|
32
|
+
Utils::UI.info 'Linting and releasing pod'
|
33
|
+
return if system('pod release')
|
34
|
+
|
35
|
+
raise Error, "Failed to release pod"
|
31
36
|
end
|
32
37
|
end
|
33
38
|
end
|
data/lib/gonative/version.rb
CHANGED
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.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hunaid Hassan
|
@@ -183,6 +183,7 @@ files:
|
|
183
183
|
- lib/gonative/plugins/ios/create.rb
|
184
184
|
- lib/gonative/plugins/ios/publish.rb
|
185
185
|
- lib/gonative/utils/template_inflator.rb
|
186
|
+
- lib/gonative/utils/ui.rb
|
186
187
|
- lib/gonative/version.rb
|
187
188
|
- templates/plugins/ios/.gitignore
|
188
189
|
- templates/plugins/ios/LICENSE
|