Sha256: 0c192f59db7f36201027f5d0214a0603ae240d930a67192a266ed53947054321

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  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
  
  # Generate all the stylesheets manually (from their Sass templates) before each restart.
  if exists?(:use_sass)
    before 'deploy:restart',          'sass:update'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
factorylabs-fdlcap-0.1.0 lib/fdlcap/sass.rb