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:
authorThomas McDonald <tom@conceptcoding.co.uk>2012-06-04 14:34:57 +0400
committerThomas McDonald <tom@conceptcoding.co.uk>2012-06-04 14:34:57 +0400
commitbc90e37c6c0e435aecdebdd47178562a0ab76073 (patch)
treee38ffba110ee2f6e74c8875fd86303ccf8418059
parenta2c99397c46bd013f73591045b30df3584ed9b2f (diff)
Alter rake debug to compile bootstrap-responsive
-rw-r--r--.gitignore3
-rw-r--r--Rakefile6
2 files changed, 6 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index bc239884..d6cfb46f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/Rakefile b/Rakefile
index b5dc5da5..06c5e1bd 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