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 ...@@ -17,7 +17,7 @@ GIT
GIT GIT
remote: https://github.com/CocoaPods/Xcodeproj.git remote: https://github.com/CocoaPods/Xcodeproj.git
revision: 31dbcdc11f8b5c1130e00abaa6570b7c3d27fbac revision: e2a6fb7466b26c3628c726271be60700bc635a62
branch: master branch: master
specs: specs:
xcodeproj (0.9.0) xcodeproj (0.9.0)
......
require 'rubygems' require 'rubygems'
require 'xcodeproj'
autoload :Xcodeproj, 'xcodeproj'
module Pod module Pod
require 'pathname' require 'pathname'
......
...@@ -283,23 +283,41 @@ module Pod ...@@ -283,23 +283,41 @@ module Pod
end end
UI = UserInterface UI = UserInterface
#---------------------------------------------------------------------------#
# Redirects cocoapods-core UI. # Redirects cocoapods-core UI.
# #
module CoreUI module CoreUI
class << self class << self
# @todo enable in CocoaPods 0.17.0 release
#
def puts(message) def puts(message)
# UI.puts message UI.puts message
end end
# @todo enable in CocoaPods 0.17.0 release
#
def warn(message) 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 end
def self.warn(message)
::Pod::UI.warn message
end end
end 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