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

Version Path
factorylabs-fdlcap-0.2.0 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.2.1 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.2.2 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.2.3 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.2.4 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.2.5 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.2.6 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.2.7 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.0 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.1 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.10 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.11 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.15 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.16 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.17 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.18 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.19 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.2 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.3 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.4 lib/fdlcap/recipes/sass.rb