Update rake:debug with file locations

This commit is contained in:
Thomas McDonald 2013-01-20 14:48:46 +00:00
Родитель fcb35dda4c
Коммит c53b325b32
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -12,7 +12,7 @@ task :debug do
require './lib/bootstrap-sass/rails_functions'
path = './vendor/assets/stylesheets'
%w(bootstrap bootstrap-responsive).each do |file|
engine = Sass::Engine.for_file("#{path}/_#{file}.scss", syntax: :scss, load_paths: [path])
engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path])
File.open("./#{file}.css", 'w') { |f| f.write(engine.render) }
end
end