guard-lessc 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/lessc.rb +1 -4
- data/lib/guard/lessc/version.rb +1 -1
- metadata +1 -1
data/lib/guard/lessc.rb
CHANGED
@@ -11,8 +11,6 @@ module Guard
|
|
11
11
|
:bin_path => 'lessc',
|
12
12
|
:yui_compress => false,
|
13
13
|
:compress => false,
|
14
|
-
:paths => [],
|
15
|
-
:optimization => 1,
|
16
14
|
:in_file => '',
|
17
15
|
:out_file => ''
|
18
16
|
}.merge(options)
|
@@ -37,8 +35,7 @@ module Guard
|
|
37
35
|
args = []
|
38
36
|
args << "-x" if @options[:compress]
|
39
37
|
args << "--yui-compress" if @options[:yui_compress]
|
40
|
-
args <<
|
41
|
-
args << "--optimization #{@options[:optimization]}" if @options[:optimization]
|
38
|
+
args << @options[:in_file] if @options[:in_file]
|
42
39
|
args << "> #{@options[:out_file]}" if @options[:out_file]
|
43
40
|
args.join(' ')
|
44
41
|
end
|
data/lib/guard/lessc/version.rb
CHANGED