Sha256: 7ceb87f088513df21338d688552f447aac8690ae6c1e3e634f5659a3d510df15

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

require 'blazing/recipe'

class Blazing::Recipe::PrecompileAssets < Blazing::Recipe

  def run(target_recipes = {})
    super target_recipes

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blazing-rails-0.1.1 lib/blazing-rails/recipes/precompile_assets.rb