Skip to content

Commit

Permalink
Now gets @imports properly
Browse files Browse the repository at this point in the history
  • Loading branch information
hawx committed Oct 17, 2010
1 parent 38248b2 commit b0fae98
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .yardoc/checksums
@@ -0,0 +1 @@
lib/guard/sass.rb 34c6dc83d464cd0d5417b0569a6c5073780270d3
Binary file added .yardoc/objects/Guard.dat
Binary file not shown.
Binary file added .yardoc/objects/Guard/Sass.dat
Binary file not shown.
Binary file added .yardoc/objects/Guard/Sass/VERSION.dat
Binary file not shown.
Binary file added .yardoc/objects/Guard/Sass/build_sass_i.dat
Binary file not shown.
Binary file added .yardoc/objects/Guard/Sass/get_output_i.dat
Binary file not shown.
Binary file added .yardoc/objects/Guard/Sass/options_3D_i.dat
Binary file not shown.
Binary file added .yardoc/objects/Guard/Sass/options_i.dat
Binary file not shown.
Binary file added .yardoc/objects/Guard/Sass/run_on_change_i.dat
Binary file not shown.
Binary file added .yardoc/objects/Guard/Sass/start_i.dat
Binary file not shown.
Binary file added .yardoc/objects/root.dat
Binary file not shown.
Binary file added .yardoc/proxy_types
Binary file not shown.
3 changes: 2 additions & 1 deletion lib/guard/sass.rb
Expand Up @@ -20,7 +20,7 @@ def build_sass(file)
content = File.new(file).read
# sass or scss?
type = file[-4..-1].to_sym
engine = ::Sass::Engine.new(content, {:syntax => type})
engine = ::Sass::Engine.new(content, {:syntax => type, :load_paths => @options[:load_paths]})
engine.render
end

Expand All @@ -44,6 +44,7 @@ def get_output(file)

def start
@options[:output] = options[:output] || 'css'
@options[:load_paths] = Dir.glob('*')
end

# Build the files given
Expand Down

0 comments on commit b0fae98

Please sign in to comment.