Sha256: d31b7409eb92d2de673ff7ba4dabcb1209757a62d65db083b23c96d2d22c1085

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

namespace :precssious do
  
  desc 'Generates the stylesheets as static resources'
  task :generate => :environment do
    require 'precssious'
    
    if defined?(Rails)
      Precssious.directory = Rails.root.join('public', 'stylesheets') 
      Precssious.perform_preprocessing
    end
  end

end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
erikhansson-precssious-0.1.1 lib/tasks/precssious.rb
precssious-0.1.1 lib/tasks/precssious.rb