[Sass] [css2sass] Deprecate css2sass in favor of sass-convert.

This commit is contained in:
Nathan Weizenbaum 2010-02-21 17:19:43 -08:00
parent e06839dd98
commit ba0ea591f5
1 changed files with 7 additions and 1 deletions

View File

@ -3,5 +3,11 @@
require File.dirname(__FILE__) + '/../lib/haml'
require 'haml/exec'
opts = Haml::Exec::CSS2Sass.new(ARGV)
warn <<END
DEPRECATION WARNING:
The css2sass tool is deprecated and will be removed in Sass 3.2.
Use the sass-convert tool instead.
END
opts = Haml::Exec::SassConvert.new(%w[--from css --to sass] + ARGV)
opts.parse!