Commit 3196a293 authored by Fabio Pelosin's avatar Fabio Pelosin

[Xcodeproj] Use Pod::UI for warnings and messages

parent 6fe59845
......@@ -17,7 +17,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
revision: 31dbcdc11f8b5c1130e00abaa6570b7c3d27fbac
revision: e2a6fb7466b26c3628c726271be60700bc635a62
branch: master
specs:
xcodeproj (0.9.0)
......
require 'rubygems'
autoload :Xcodeproj, 'xcodeproj'
require 'xcodeproj'
module Pod
require 'pathname'
......
......@@ -283,23 +283,41 @@ module Pod
end
UI = UserInterface
#---------------------------------------------------------------------------#
# Redirects cocoapods-core UI.
#
module CoreUI
class << self
# @todo enable in CocoaPods 0.17.0 release
#
def puts(message)
# UI.puts message
UI.puts message
end
# @todo enable in CocoaPods 0.17.0 release
#
def warn(message)
# UI.warn message
UI.warn message
end
end
end
end
#---------------------------------------------------------------------------#
module Xcodeproj
# Redirects xcodeproj UI.
#
module UserInterface
def self.puts(message)
::Pod::UI.puts message
end
def self.warn(message)
::Pod::UI.warn message
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment