Sha256: 7515637f72abb99e17cea487ea776c2d24592480c3d28785c0b1702955be717f
Contents?: true
Size: 520 Bytes
Versions: 25
Compression:
Stored size: 520 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do define_recipe :sass do # # Tasks # namespace :sass do desc 'Updates the stylesheets generated by Sass' task :update, :roles => :app do invoke_command "cd #{latest_release}; RAILS_ENV=#{rails_env} rake sass:update" end end # # Callbacks # # Generate all the stylesheets manually (from their Sass templates) before each restart. before 'deploy:restart', 'sass:update' end end
Version data entries
25 entries across 25 versions & 1 rubygems