mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] [css2sass] Deprecate css2sass in favor of sass-convert.
This commit is contained in:
parent
e06839dd98
commit
ba0ea591f5
1 changed files with 7 additions and 1 deletions
|
@ -3,5 +3,11 @@
|
||||||
require File.dirname(__FILE__) + '/../lib/haml'
|
require File.dirname(__FILE__) + '/../lib/haml'
|
||||||
require 'haml/exec'
|
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!
|
opts.parse!
|
||||||
|
|
Loading…
Add table
Reference in a new issue