Class: Blazing::Recipe::PrecompileAssets

Inherits:
Blazing::Recipe
  • Object
show all
Defined in:
lib/blazing-rails/recipes/precompile_assets.rb

Instance Method Summary collapse

Instance Method Details

#run(target_recipes = {}) ⇒ Object



5
6
7
8
9
10
# File 'lib/blazing-rails/recipes/precompile_assets.rb', line 5

def run(target_recipes = {})
  super target_recipes

  info 'precompiling assets'
  system 'bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile'
end