app_generators/watircraft/watircraft_generator.rb in bret-watircraft-0.4.1 vs app_generators/watircraft/watircraft_generator.rb in bret-watircraft-0.4.2

- old
+ new

@@ -42,19 +42,21 @@ m.template "config.yml.erb", "config/config.yml", :collision => :skip m.file "spec_helper.rb", "test/specs/spec_helper.rb", :collision => :force m.file "feature_helper.rb", "test/features/feature_helper.rb", :collision => :force - m.template "initialize.rb.erb", "lib/initialize.rb", :collision => :ask + m.template "initialize.rb.erb", "lib/initialize.rb", :collision => :skip # not sure what's right m.file "spec_initialize.rb", "lib/init/spec_initialize.rb", :collision => :force m.file "world.rb", "lib/steps/world.rb", :collision => :force m.template "site_start.rb.erb", "lib/init/site_start.rb", :collision => :force m.file_copy_each ["console", "console.cmd"], "script", :collision => :force m.dependency "install_rubigen_scripts", [destination_root, 'watircraft'], :shebang => options[:shebang], :collision => :ask - m.dependency "site", [@site], :destination => destination_root + + m.template "site.rb.erb", "lib/#{@site}.rb", :collision => :skip + m.template "environments.yml.erb", "config/environments.yml", :collision => :skip end end @@new_directories = %w(