Sha256: da3f52d1f17ac962f492102d50e8232ce5ac1f7cbcaed5de6cb8ff8303008a39
Contents?: true
Size: 664 Bytes
Versions: 51
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
51 entries across 36 versions & 2 rubygems