diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2013-11-14 21:26:08 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2013-11-15 00:55:26 +0400 |
commit | c58415eef00a708b25f6f7ee32573de038be4a50 (patch) | |
tree | af5876be9460f80d8b9402327d2a0e331436c1d2 /Rakefile | |
parent | 263dc713ff89de6f5784e8cfd0d22aa2bc2aaef0 (diff) |
Sass-only support
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -8,9 +8,8 @@ end desc 'Dumps output to a CSS file for testing' task :debug do require 'sass' - require './lib/bootstrap-sass/compass_functions' require './lib/bootstrap-sass/sass_functions' - path = './vendor/assets/stylesheets' + path = Bootstrap.stylesheets_path %w(bootstrap).each do |file| engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path]) File.open("./#{file}.css", 'w') { |f| f.write(engine.render) } @@ -29,7 +28,6 @@ task :compile, :css_path do |t, args| lib_path = File.join(File.dirname(__FILE__), 'lib') $:.unshift(lib_path) unless $:.include?(lib_path) require 'sass' - require 'bootstrap-sass/compass_functions' require 'bootstrap-sass/sass_functions' require 'term/ansicolor' |