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

github.com/twbs/bootstrap-sass.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2013-11-14 21:26:08 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2013-11-15 00:55:26 +0400
commitc58415eef00a708b25f6f7ee32573de038be4a50 (patch)
treeaf5876be9460f80d8b9402327d2a0e331436c1d2 /Rakefile
parent263dc713ff89de6f5784e8cfd0d22aa2bc2aaef0 (diff)
Sass-only support
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 54dd430e..90158b23 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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'