# Files: default_controller: type: file template_path: <%= File.join(templates_directory_path, "app", "controllers", "default_controller.rb.template") %> output_path: <%= File.join(app_name, "app", "controllers", "default_controller.rb") %> application_helper: type: file template_path: <%= File.join(templates_directory_path, "app", "helpers", "application_helper.rb.template") %> output_path: <%= File.join(app_name, "app", "helpers", "application_helper.rb") %> index_view: type: file template_path: <%= File.join(templates_directory_path, "app", "views", "default", "index.html.erb.template") %> output_path: <%= File.join(app_name, "app", "views", "default", "index.html.erb") %> application_layout: type: file template_path: <%= File.join(templates_directory_path, "app", "views", "layouts", "application.html.erb.template") %> output_path: <%= File.join(app_name, "app", "views", "layouts", "application.html.erb") %> <% ["default", "development", "production", "test"].each do |env| -%> <%= env %>_yml: type: file template_path: <%= File.join(templates_directory_path, "config", "app_config", "#{env}.yml.template") %> output_path: <%= File.join(app_name, "config", "app_config", "#{env}.yml") %> <% end -%> database_yml: type: file template_path: <%= File.join(templates_directory_path, "config", "database.yml.template") %> output_path: <%= File.join(app_name, "config", "database.yml") %> <% ["routes.rb", "thin.ru", "thin.yml"].each do |f| -%> <%= f %>_config_file: type: file template_path: <%= File.join(templates_directory_path, "config", "#{f}.template") %> output_path: <%= File.join(app_name, "config", f) %> <% end -%> gems_rb: type: file template_path: <%= File.join(templates_directory_path, "config", "initializers", "gems.rb.template") %> output_path: <%= File.join(app_name, "config", "initializers", "gems.rb") %> favicon: type: file template_path: <%= File.join(templates_directory_path, "public", "favicon.ico.template") %> output_path: <%= File.join(app_name, "public", "favicon.ico") %> scaffold_css: type: file template_path: <%= File.join(templates_directory_path, "public", "stylesheets", "scaffold.css.template") %> output_path: <%= File.join(app_name, "public", "stylesheets", "scaffold.css") %> rakefile: type: file template_path: <%= File.join(templates_directory_path, "Rakefile.template") %> output_path: <%= File.join(app_name, "Rakefile") %> test_helper: type: file template_path: <%= File.join(templates_directory_path, "test", "test_helper.rb.template") %> output_path: <%= File.join(app_name, "test", "test_helper.rb") %> # Directories: models: type: directory output_path: <%= File.join(app_name, "app", "models") %> lib_tasks: type: directory output_path: <%= File.join(app_name, "lib", "tasks") %> <% ["images", "javascripts"].each do |f| -%> public_<%= f %>: type: directory output_path: <%= File.join(app_name, "public", f) %> <% end -%> test_functional: type: directory output_path: <%= File.join(app_name, "test", "functional") %> test_unit: type: directory output_path: <%= File.join(app_name, "test", "unit") %> vendor_plugins: type: directory output_path: <%= File.join(app_name, "vendor", "plugins") %>