Skip to content

Commit

Permalink
Simplify the status output
Browse files Browse the repository at this point in the history
This was printing a whole bunch of stuff to STDOUT that probably wasn't
too useful. Instead, we can just say that we're generating the given
project template.
  • Loading branch information
gfontenot committed Oct 2, 2014
1 parent b136f50 commit 84f28f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions lib/liftoff/file_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def create_project_dir(name, &block)
end

def generate(template, destination = template, project_config = ProjectConfiguration.new({}))
puts "Writing #{destination}"
create_destination_path(destination)
template_path = TemplateFinder.new.template_path(template)
if template_is_directory?(template_path)
Expand All @@ -21,7 +20,6 @@ def generate(template, destination = template, project_config = ProjectConfigura

def mkdir_gitkeep(path)
dir_path = File.join(*path)
puts "Creating #{dir_path}"
FileUtils.mkdir_p(dir_path)
FileUtils.touch(File.join(dir_path, '.gitkeep'))
end
Expand Down
1 change: 1 addition & 0 deletions lib/liftoff/project_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def initialize(project_configuration)
end

def create_project
puts "Generating the '#{@project_configuration.project_template}' project template"
groups_and_targets.each do |groups, target|
groups.each do |group|
create_tree(group, target)
Expand Down

0 comments on commit 84f28f8

Please sign in to comment.