guard-lessc 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/lessc/version.rb +1 -1
- data/lib/guard/lessc.rb +2 -1
- metadata +1 -1
data/lib/guard/lessc/version.rb
CHANGED
data/lib/guard/lessc.rb
CHANGED
@@ -8,6 +8,7 @@ module Guard
|
|
8
8
|
def initialize(watchers = [], options = {})
|
9
9
|
super
|
10
10
|
@options = {
|
11
|
+
:bin_path => 'lessc',
|
11
12
|
:yui_compress => false,
|
12
13
|
:compress => false,
|
13
14
|
:paths => [],
|
@@ -27,7 +28,7 @@ module Guard
|
|
27
28
|
end
|
28
29
|
|
29
30
|
def lessc
|
30
|
-
command = "
|
31
|
+
command = "#{@options[:bin_path]} #{generate_cl_arguments}"
|
31
32
|
puts command
|
32
33
|
puts `#{command}`
|
33
34
|
end
|