templates/bootstrap.rb in prologue-0.4.0 vs templates/bootstrap.rb in prologue-0.5.0

- old
+ new

@@ -14,24 +14,28 @@ response = http.request(request) path = File.join(destination_root, destination) File.open(path, "w") { |file| file.write(response.body) } end -append_file '.gitignore' do - '.DS_Store' - 'log/*.log' - 'tmp/**/*' - 'config/database.yml' - 'db/*.sqlite3' - 'public/system/**/**/**/*' - '.idea/*' - '.sass-cache/**/*' - '*.swp' -end - git :init +run 'rm .gitignore' +create_file '.gitignore' do +<<-FILE +.bundle +.DS_Store +log/*.log +tmp/**/* +config/database.yml +db/*.sqlite3 +public/system/**/**/**/* +.idea/* +.sass-cache/**/* +*.swp +FILE +end + # Apply Gemfile apply File.expand_path("../gemfile.rb", __FILE__) # Apply Jammit apply File.expand_path("../jammit.rb", __FILE__) @@ -43,10 +47,13 @@ apply File.expand_path("../rails_clean.rb", __FILE__) # Apply js apply File.expand_path("../js.rb", __FILE__) +# Apply css +apply File.expand_path("../css.rb", __FILE__) + # Apply evergreen and jasmin apply File.expand_path("../evergreen.rb", __FILE__) # Apply HTML5 Layout apply File.expand_path("../application_layout.rb", __FILE__) @@ -81,9 +88,12 @@ # Make initializers apply File.expand_path("../initializers.rb", __FILE__) # Clean up generated routes apply File.expand_path("../clean_routes.rb", __FILE__) + +# Setup yard +apply File.expand_path("../yard.rb", __FILE__) # Remove RSpec stuff we are not gonna use right away apply File.expand_path("../rspec_clean.rb", __FILE__) # Make the form errors work like they did in 2.3.8