Sha256: 3a9acc11e74c8d583451f92e4fb1ff145a90aae5b5db391cb575f4b1f56c1306
Contents?: true
Size: 664 Bytes
Versions: 154
Compression:
Stored size: 664 Bytes
Contents
require 'rake' require 'rake/tasklib' require 'autoprefixer-rails' module Rake # Define task to inspect Autoprefixer browsers, properties and values. # Call it from your `Rakefile`: # # AutoprefixerTasks.new(['> 1%', 'opera 12']) class AutoprefixerTasks < Rake::TaskLib attr_reader :browsers def initialize(params = {}) @params = params @processor = AutoprefixerRails.processor(@params) define end def define namespace :autoprefixer do desc 'Show selected browsers and prefixed CSS properties and values' task :info do puts @processor.info end end end end end
Version data entries
154 entries across 154 versions & 3 rubygems