lib/amiba.rb in amiba-0.0.2 vs lib/amiba.rb in amiba-0.0.3

- old
+ new

@@ -55,17 +55,21 @@ def create_assets_structure %w{public/js public/css public/images}.each do |dirname| empty_directory File.join(target, dirname) end end - + + def create_default_feeds + directory File.join("templates", "feeds"), File.join(target, dirname) + end + def create_default_page inside(target, :verbose => true) do invoke(Amiba::Page::Create, [options[:default_page]], :title => name.titleize, :description => "#{name.titleize} Homepage. Please change this to be more descriptive") - end + end end def commit_to_git Dir.chdir(@repo.working_dir) do @repo.add %w{.amiba Gemfile layouts pages}