orientepodspecpush 0.1.1 → 0.1.2
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 +4 -4
- data/lib/orientepodspecpush.rb +10 -7
- data/lib/orientepodspecpush/version.rb +1 -1
- 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: 5bae0ffb602e90b3cbdd44704705b8f23544d064c27dbb47a3b568a7e27b84f5
|
4
|
+
data.tar.gz: de357d0ba368533bbeb6d5ad41458c8f1ccb8a8d2e51215eb301ca8a0735780a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad6a2747690a9ce7c63351f5402aebc7aec8a085290207efedad4c413da07fd6bd5c307be0deaf6395bbc3ecdc9a8957450451c34e5613b846c1057b4173b42
|
7
|
+
data.tar.gz: 2a527fea4a97cd5ad1259304de89cded1ceef0820b2291b0bb270e746fc39b908e8ea9fc1f66df7118b63ec06926f98687ea19e7c9613ace5a0933c624c590ef
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -21,15 +21,18 @@ module Orientepodspecpush
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def package
|
24
|
+
puts "start package".green
|
24
25
|
cmd = []
|
25
26
|
cmd << ['bundle exec'] if shouldUseBundleExec
|
26
27
|
podPackage = "pod package #{specfile}"
|
27
|
-
|
28
|
-
podPackage + opts[:package]
|
28
|
+
unless opts[:package] == nil
|
29
|
+
podPackage + opts[:package].to_s
|
29
30
|
end
|
30
31
|
cmd << [podPackage]
|
31
32
|
|
32
33
|
system cmd.join(' ')
|
34
|
+
|
35
|
+
puts "finish package".green
|
33
36
|
# system "git add ."
|
34
37
|
# system "git commit -m 'upload framework'"
|
35
38
|
# system "git push origin master"
|
@@ -52,8 +55,8 @@ module Orientepodspecpush
|
|
52
55
|
lintCmd = []
|
53
56
|
lintCmd << ['bundle exec'] if shouldUseBundleExec
|
54
57
|
podSpecLint = "pod spec lint"
|
55
|
-
|
56
|
-
podSpecLint + opts[:lint]
|
58
|
+
unless opts[:lint] == nil
|
59
|
+
podSpecLint + opts[:lint].to_s
|
57
60
|
end
|
58
61
|
|
59
62
|
lintCmd << [podSpecLint]
|
@@ -78,8 +81,8 @@ module Orientepodspecpush
|
|
78
81
|
cmd = []
|
79
82
|
cmd << ['bundle exec'] if shouldUseBundleExec
|
80
83
|
podRepoPush = "pod repo push #{opts[:specRepo]} #{specfile}"
|
81
|
-
|
82
|
-
podRepoPush + opts[:push]
|
84
|
+
unless opts[:push] == nil
|
85
|
+
podRepoPush + opts[:push].to_s
|
83
86
|
end
|
84
87
|
cmd << [podRepoPush]
|
85
88
|
|
@@ -141,7 +144,7 @@ module Orientepodspecpush
|
|
141
144
|
puts "Even with warnings, something is wrong. Look for any errors".red
|
142
145
|
rollbackTag
|
143
146
|
else
|
144
|
-
|
147
|
+
unless opts[:noPackage] == true
|
145
148
|
package
|
146
149
|
end
|
147
150
|
end
|