Commit 69796538 authored by Eloy Duran's avatar Eloy Duran

Cleanup output.

parent ef9ac10a
......@@ -46,7 +46,7 @@ module Pod
end
def add
puts "==> Cloning spec repo `#{@name}' from `#{@url}'" unless config.silent?
puts "Cloning spec repo `#{@name}' from `#{@url}'" unless config.silent?
config.repos_dir.mkpath
Dir.chdir(config.repos_dir) { git("clone '#{@url}' #{@name}") }
end
......@@ -54,7 +54,7 @@ module Pod
def update
dirs = @name ? [dir] : config.repos_dir.children
dirs.each do |dir|
puts "==> Updating spec repo `#{dir.basename}'" unless config.silent?
puts "Updating spec repo `#{dir.basename}'" unless config.silent?
Dir.chdir(dir) { git("pull") }
end
end
......
module Pod
module Generator
class BridgeSupport
include Config::Mixin
extend Executable
executable :gen_bridge_metadata
......@@ -17,7 +15,6 @@ module Pod
end
def save_as(pathname)
puts "==> Generating BridgeSupport metadata file at `#{pathname}'" unless config.silent?
gen_bridge_metadata %{-c "#{search_paths.join(' ')}" -o '#{pathname}' '#{headers.join("' '")}'}
end
end
......
......@@ -69,11 +69,11 @@ module Pod
end
def install!
puts "Installing dependencies of: #{@podfile.defined_in_file}" unless config.silent?
puts "Installing dependencies of: #{@podfile.defined_in_file}" if config.verbose?
install_dependencies!
root = config.project_pods_root
puts "Generating support files..." unless config.silent?
puts "Generating support files" unless config.silent?
target_installers.each do |target_installer|
target_installer.install!
target_installer.create_files_in(root)
......
......@@ -121,12 +121,16 @@ module Pod
end
def create_files_in(root)
xcconfig.save_as(root + xcconfig_filename)
if @podfile.generate_bridge_support?
puts "* Generating BridgeSupport metadata file at `#{root + bridge_support_filename}'" if config.verbose?
bridge_support_generator.save_as(root + bridge_support_filename)
copy_resources_script.resources << bridge_support_filename
end
puts "* Generating xcconfig file at `#{root + xcconfig_filename}'" if config.verbose?
xcconfig.save_as(root + xcconfig_filename)
puts "* Generating prefix header at `#{root + prefix_header_filename}'" if config.verbose?
save_prefix_header_as(root + prefix_header_filename)
puts "* Generating copy resources script at `#{root + copy_resources_filename}'" if config.verbose?
copy_resources_script.save_as(root + copy_resources_filename)
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