Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add assets:precompile to tests

  • Loading branch information...
commit 4aeff06a8c4380190554f554978e733120e58833 1 parent db18871
@atd atd authored
View
1  .gitignore
@@ -34,3 +34,4 @@ config/development.sphinx.conf
# avatar temporal files
public/images/tmp
public/system
+public/assets
View
1  .travis.yml
@@ -4,4 +4,5 @@ rvm:
before_script:
- "cp ./config/database.yml.example ./config/database.yml"
- "mysql -e 'create database vish_test;'"
+ - "mysql -e 'create database vish_production;'"
- "bundle exec rake db:schema:load"
View
2  Rakefile
@@ -33,6 +33,6 @@ RSpec::Core::RakeTask.new(:spec) do |s|
]
end
-task :default => :spec
+task :default => [ :spec, 'assets:precompile' ]
Vish::Application.load_tasks
View
2  config/environments/production.rb
@@ -43,7 +43,7 @@
# config.action_controller.asset_host = "http://assets.example.com"
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
- # config.assets.precompile += %w( search.js )
+ config.assets.precompile += %w( vish_editor.css )
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
Please sign in to comment.
Something went wrong with that request. Please try again.