diff options
author | Thomas McDonald <tom@conceptcoding.co.uk> | 2012-06-04 14:34:57 +0400 |
---|---|---|
committer | Thomas McDonald <tom@conceptcoding.co.uk> | 2012-06-04 14:34:57 +0400 |
commit | bc90e37c6c0e435aecdebdd47178562a0ab76073 (patch) | |
tree | e38ffba110ee2f6e74c8875fd86303ccf8418059 /Rakefile | |
parent | a2c99397c46bd013f73591045b30df3584ed9b2f (diff) |
Alter rake debug to compile bootstrap-responsive
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |