diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2017-10-13 01:51:03 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2017-10-13 01:55:56 +0300 |
commit | 49709537118de7a74bcbb144f2fba64c66c0f315 (patch) | |
tree | e3477fcba9ae212db215cca499b86e46c9003f4e /tasks | |
parent | 6b9114249aedf7b83fa2289aeb6df1ff1bc412c0 (diff) |
Drop Compass support, bump minimum Sass version
Compass is no longer maintained and hasn't seen a release for 3 years.
The compass gem locks Sass to version < 3.5.
However, we now need Sass v3.5+ due to
https://github.com/sass/sass/issues/2383
This commit removes compass support and bumps minimum Ruby Sass version
to v3.5.2.
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/updater/scss.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tasks/updater/scss.rb b/tasks/updater/scss.rb index c747b9a..b98ac71 100644 --- a/tasks/updater/scss.rb +++ b/tasks/updater/scss.rb @@ -21,18 +21,6 @@ class Updater # As we moved the files, adjust imports accordingly. File.write to, File.read(to).gsub(/ "/, ' "bootstrap/') end - - log_status 'Generating variable template file' - save_file 'templates/project/_bootstrap-variables.scss', - "// Override Bootstrap variables here (defaults from bootstrap v#{upstream_version}):\n" + - File.read("#{save_to}/_variables.scss"). - # The instructions in the file header are replaced with the line above - lines[4..-1]. - join. - # Comment out the assignments - gsub(/^(?=[$@)}]|[ ]{2})/, '// '). - # Remove the !default modifier - gsub(/ !default/, '') end end end |