Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2018-08-06 21:25:34 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2018-08-06 21:25:34 +0300
commit7c6056eebb7a9fd8cac7845ca31bf62a81627df2 (patch)
treec16dd7121544ab3b56ae29093871784767817484 /Rakefile
parent5a2f627e569370399626f12678a92b6ab5aca4d4 (diff)
sass -> sassc
Fixes #159
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 3114745..826cccf 100644
--- a/Rakefile
+++ b/Rakefile
@@ -45,13 +45,13 @@ end
desc 'Dumps output to a CSS file for testing'
task :debug do
- require 'sass'
+ require 'sassc'
require './lib/bootstrap'
require 'term/ansicolor'
require 'autoprefixer-rails'
path = Bootstrap.stylesheets_path
%w(_bootstrap _bootstrap-reboot _bootstrap-grid).each do |file|
- engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path])
+ engine = SassC::Engine.new(File.read("#{path}/#{file}.scss"), syntax: :scss, load_paths: [path])
out = File.join('tmp', "#{file[1..-1]}.css")
css = engine.render
css = AutoprefixerRails.process(css)