Sha256: 2bfb7591011e9db477ffcc4339d1e3122de5fc21640700a7995b69580c6ce279
Contents?: true
Size: 557 Bytes
Versions: 16
Compression:
Stored size: 557 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, :except => { :no_release => true } 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
16 entries across 16 versions & 2 rubygems