lib/sprout/library.rb in sprout-1.0.35.pre vs lib/sprout/library.rb in sprout-1.1.2.pre

- old
+ new

@@ -177,11 +177,11 @@ def define_lib_dir_task_if_necessary dir if !File.exists?(dir) define_file_task dir do FileUtils.mkdir_p dir - Sprout::Log.puts ">> Created directory at: #{dir}" + Sprout.stdout.puts ">> Created directory at: #{dir}" end end end def define_project_path_task pkg_name, path @@ -194,20 +194,20 @@ end def define_directory_copy_task path, install_path define_file_task install_path do FileUtils.cp_r path, install_path - Sprout::Log.puts ">> Copied files from: (#{path}) to: (#{install_path})" + Sprout.stdout.puts ">> Copied files from: (#{path}) to: (#{install_path})" end install_path end def define_file_copy_task path, install_path task_name = "#{install_path}/#{File.basename(path)}" define_file_task task_name do FileUtils.mkdir_p install_path FileUtils.cp path, "#{install_path}/" - Sprout::Log.puts ">> Copied file from: (#{path}) to: (#{task_name})" + Sprout.stdout.puts ">> Copied file from: (#{path}) to: (#{task_name})" end task_name end def define_file_task name