File: merbtasks.rb

package info (click to toggle)
ruby-merb-haml 1.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 260 kB
  • ctags: 28
  • sloc: ruby: 152; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
namespace :haml do
  desc "Compiles all sass files into CSS"
  task :compile_sass do
    require 'sass'
    puts "*** Updating stylesheets"
    Sass::Plugin.options = Merb::Config[:sass] if Merb::Config[:sass]
    Sass::Plugin.update_stylesheets
    puts "*** Done"      
  end
end