Permalink
Browse files

Cleanup output.

  • Loading branch information...
1 parent ef9ac10 commit 69796538a8be78b73c9ee1b651224a5567474e59 @alloy alloy committed Nov 26, 2011
View
4 lib/cocoapods/command/repo.rb
@@ -46,15 +46,15 @@ def run
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
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
View
3 lib/cocoapods/generator/bridge_support.rb
@@ -1,8 +1,6 @@
module Pod
module Generator
class BridgeSupport
- include Config::Mixin
-
extend Executable
executable :gen_bridge_metadata
@@ -17,7 +15,6 @@ def search_paths
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
View
4 lib/cocoapods/installer.rb
@@ -69,11 +69,11 @@ def install_dependencies!
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)
View
6 lib/cocoapods/installer/target_installer.rb
@@ -121,12 +121,16 @@ def install!
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

0 comments on commit 6979653

Please sign in to comment.