Sha256: daf2d52302d67f6419a597b397774a599d19b30bf0d3332abe69d43d50b96f3a

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

namespace :sass do
 
  task :sass_environment => :environment do
    Sass::Plugin.on_updating_stylesheet { |template, css| puts "Building #{css} from #{template}" }
    Sass::Plugin.on_not_updating_stylesheet { |template, css| puts "Skipping #{css}" }
  end
 
  desc "Forcefully updates the stylesheets generated by SASS."
  task :build => :sass_environment do
    Sass::Plugin.force_update_stylesheets
  end
 
  desc "Updates the out of date stylesheets generated by SASS."
  task :update => :sass_environment do
    Sass::Plugin.update_stylesheets
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
i0n_rails3_generators-0.2.19 lib/generators/i0n/layout/templates/lib/tasks/sass.rake