pbind 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pbind.rb +0 -1
- data/lib/pbind/command.rb +12 -2
- data/lib/pbind/command/mock.rb +1 -3
- data/lib/pbind/command/watch.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daffbf09983752ded6d29b3b64bf7d5f8d0bd776
|
4
|
+
data.tar.gz: 367f984121f3d3d13bed951a0063a5190b5e41cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feef5da07a5578c78c730231a3aeb2141b8ca5055be4ad29c453b77cf98f0e1e0696b7cabfd44e34111455225820e485a4392887bb84c2e547e375b5816fbf96
|
7
|
+
data.tar.gz: be7f7468246d76ceef180c1b408222af9b5d8c755769bdb1eb02b586617ddf0a4e651fe910d27fafeebb4613acfdf04a16e29b336f769d86696c6f175a4cd1ae
|
data/lib/pbind.rb
CHANGED
data/lib/pbind/command.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require 'colored'
|
2
2
|
require 'claide'
|
3
3
|
|
4
|
+
require 'cocoapods/config'
|
5
|
+
require 'cocoapods/user_interface'
|
6
|
+
|
4
7
|
module Pbind
|
5
8
|
class Command < CLAide::Command
|
6
9
|
|
@@ -13,17 +16,18 @@ module Pbind
|
|
13
16
|
self.description = 'Pbind, the Pbind XcodeProject Helper.'
|
14
17
|
self.plugin_prefixes = %w(claide pbind)
|
15
18
|
|
19
|
+
UI = Pod::UI
|
20
|
+
|
16
21
|
def self.report_error(exception)
|
17
22
|
case exception
|
18
23
|
when Interrupt
|
19
24
|
puts ''
|
20
25
|
puts '[!] Cancelled'.red
|
21
|
-
# Config.instance.verbose? ? raise : exit(1)
|
22
26
|
when SystemExit
|
23
27
|
raise
|
24
28
|
else
|
25
29
|
# if ENV['PBIND_ENV'] != 'development'
|
26
|
-
|
30
|
+
# puts UI::ErrorReport.report(exception)
|
27
31
|
# UI::ErrorReport.search_for_exceptions(exception)
|
28
32
|
# exit 1
|
29
33
|
# else
|
@@ -44,6 +48,12 @@ module Pbind
|
|
44
48
|
@project_path = argv.option('project')
|
45
49
|
end
|
46
50
|
|
51
|
+
def run
|
52
|
+
if !@changed
|
53
|
+
UI.notice 'All are UP-TO-DATE.'
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
47
57
|
def verify_project_exists
|
48
58
|
if @project_path == nil
|
49
59
|
projects = Dir.glob("*.xcodeproj")
|
data/lib/pbind/command/mock.rb
CHANGED
data/lib/pbind/command/watch.rb
CHANGED