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

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorBlake Gentry <blakesgentry@gmail.com>2017-01-06 21:09:25 +0300
committerBlake Gentry <blakesgentry@gmail.com>2017-01-06 21:09:25 +0300
commit023043a2da9098e7b8521a2ac62b7b5a470c40d9 (patch)
treea38d483888aedfe0a939078d00092177205bc32e /tasks
parentec0d6347b19e8ccbe4aea91089747487dfb742af (diff)
remove bootstrap-flex update handling since it's gone
Diffstat (limited to 'tasks')
-rw-r--r--tasks/updater/scss.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/tasks/updater/scss.rb b/tasks/updater/scss.rb
index 939e09a..d92ff87 100644
--- a/tasks/updater/scss.rb
+++ b/tasks/updater/scss.rb
@@ -12,16 +12,14 @@ class Updater
log_processed "#{bootstrap_scss_files * ' '}"
log_status 'Updating scss main files'
- %w(bootstrap bootstrap-flex bootstrap-grid bootstrap-reboot).each do |name|
+ %w(bootstrap bootstrap-grid bootstrap-reboot).each do |name|
# Compass treats non-partials as targets to copy into the main project, so make them partials.
# Also move them up a level to clearly indicate entry points.
from = "#{save_to}/#{name}.scss"
to = "#{save_to}/../_#{name}.scss"
FileUtils.mv from, to
- # As we moved the files, adjust imports accordingly (except for bootstrap-flex that imports the main bootstrap).
- unless 'bootstrap-flex' == name
- File.write to, File.read(to).gsub(/ "/, ' "bootstrap/')
- end
+ # As we moved the files, adjust imports accordingly.
+ File.write to, File.read(to).gsub(/ "/, ' "bootstrap/')
end
log_status 'Generating variable template file'