orientepodspecpush 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orientepodspecpush/version.rb +1 -1
- data/lib/orientepodspecpush.rb +7 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a35255deb1d3282a5b14ef820a23ee166b1f7333178731e4618b6c2602e8a550
|
4
|
+
data.tar.gz: 489df08c7d274b1856e2b8da884a11c0c266871f60c827ee41dab7950bdad1c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec862528ea53c7a5722183fcfead9a3451bcbdded2849914a43ce3f22ed997a5929ad80718cf6b35a368edce11cb4459c6e4af92d27f6bb0ed385a6319e89d3
|
7
|
+
data.tar.gz: 1e3550c25a9df6a5feae9a96bbec3e32ef9ad85fde3b1d971d20ff9db4d04e04ad52c7cc72aea140464ad7e3eebc48c975cd5c32ba92099306af65121cd2dc54
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -131,9 +131,9 @@ module Orientepodspecpush
|
|
131
131
|
|
132
132
|
def executeLint(withWarnings)
|
133
133
|
cmd = [@lintCmd]
|
134
|
-
cmd << "--allow-warnings" unless withWarnings == false
|
134
|
+
# cmd << "--allow-warnings" unless withWarnings == false
|
135
135
|
|
136
|
-
command = cmd.join('
|
136
|
+
command = cmd.join('')
|
137
137
|
|
138
138
|
puts "Executing: #{command}".green
|
139
139
|
success = system command
|
@@ -181,6 +181,11 @@ module Orientepodspecpush
|
|
181
181
|
opt :push, "pod repo push 情况下所需要的参数,需要用引号括起来,例如'--verbose --use-libraries'"
|
182
182
|
opt :noPackage, "If set, no need to package"
|
183
183
|
end
|
184
|
+
|
185
|
+
puts opt[:lint]
|
186
|
+
puts opt[:package]
|
187
|
+
puts opt[:push]
|
188
|
+
puts opt[:noPackage]
|
184
189
|
# Need these two
|
185
190
|
Trollop::die :specRepo, "Spec Repo must be provided" if opts[:specRepo] == nil
|
186
191
|
Trollop::die :workspace, "Workspace path must be provided" if opts[:workspace] == nil
|