From bc90e37c6c0e435aecdebdd47178562a0ab76073 Mon Sep 17 00:00:00 2001 From: Thomas McDonald Date: Mon, 4 Jun 2012 11:34:57 +0100 Subject: Alter rake debug to compile bootstrap-responsive --- Rakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index b5dc5da..06c5e1b 100644 --- a/Rakefile +++ b/Rakefile @@ -11,8 +11,10 @@ task :debug do require './lib/bootstrap-sass/compass_functions' require './lib/bootstrap-sass/rails_functions' path = './vendor/assets/stylesheets' - engine = Sass::Engine.for_file("#{path}/_bootstrap.scss", syntax: :scss, load_paths: [path]) - File.open('./debug.css', 'w') { |f| f.write(engine.render) } + %w(bootstrap bootstrap-responsive).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) } + end end task default: :test \ No newline at end of file -- cgit v1.2.3