diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Rakefile | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,4 @@ *.gem .sass-cache -debug.css
\ No newline at end of file +bootstrap.css +bootstrap-responsive.css
\ No newline at end of file @@ -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 |