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

Version Path
factorylabs-fdlcap-0.3.20 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.21 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.23 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.24 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.25 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.26 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.27 lib/fdlcap/recipes/sass.rb
factorylabs-fdlcap-0.3.28 lib/fdlcap/recipes/sass.rb
fdlcap-0.4.0 lib/fdlcap/recipes/sass.rb
fdlcap-0.3.35 lib/fdlcap/recipes/sass.rb
fdlcap-0.3.34 lib/fdlcap/recipes/sass.rb
fdlcap-0.3.33 lib/fdlcap/recipes/sass.rb
fdlcap-0.3.31 lib/fdlcap/recipes/sass.rb
fdlcap-0.3.30 lib/fdlcap/recipes/sass.rb
fdlcap-0.3.29 lib/fdlcap/recipes/sass.rb
fdlcap-0.3.28 lib/fdlcap/recipes/sass.rb