diff options
| author | Mark Otto <[email protected]> | 2015-06-18 10:19:50 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-06-18 10:19:50 -0700 |
| commit | 8410afe0e104459a613f6232ad46334aa8b99fda (patch) | |
| tree | 9fbf0dfa4ab705e676891fbbfb8df8f11bb13e7d /grunt | |
| parent | e615ae053c816fa477d158562e20ecaf2609128d (diff) | |
| download | bootstrap-8410afe0e104459a613f6232ad46334aa8b99fda.tar.xz bootstrap-8410afe0e104459a613f6232ad46334aa8b99fda.zip | |
Create new stylesheets for optional builds and add them to Gruntfile tasks
Diffstat (limited to 'grunt')
| -rw-r--r-- | grunt/bs-sass-compile/libsass.js | 7 | ||||
| -rw-r--r-- | grunt/bs-sass-compile/sass.js | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/grunt/bs-sass-compile/libsass.js b/grunt/bs-sass-compile/libsass.js index e3d13a989..597934023 100644 --- a/grunt/bs-sass-compile/libsass.js +++ b/grunt/bs-sass-compile/libsass.js @@ -15,6 +15,13 @@ module.exports = function configureLibsass(grunt) { 'dist/css/<%= pkg.name %>.css': 'scss/<%= pkg.name %>.scss' } }, + extras: { + files: { + 'dist/css/<%= pkg.name %>-flex.css': 'scss/<%= pkg.name %>-flex.scss', + 'dist/css/<%= pkg.name %>-grid.css': 'scss/<%= pkg.name %>-grid.scss', + 'dist/css/<%= pkg.name %>-reboot.css': 'scss/<%= pkg.name %>-reboot.scss' + } + }, docs: { files: { 'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss' diff --git a/grunt/bs-sass-compile/sass.js b/grunt/bs-sass-compile/sass.js index d7743515d..3a7d4a710 100644 --- a/grunt/bs-sass-compile/sass.js +++ b/grunt/bs-sass-compile/sass.js @@ -18,6 +18,14 @@ module.exports = function configureRubySass(grunt) { 'dist/css/<%= pkg.name %>.css': 'scss/<%= pkg.name %>.scss' } }, + extras: { + options: options, + files: { + 'dist/css/<%= pkg.name %>-flex.css': 'scss/<%= pkg.name %>-flex.scss', + 'dist/css/<%= pkg.name %>-grid.css': 'scss/<%= pkg.name %>-grid.scss', + 'dist/css/<%= pkg.name %>-reboot.css': 'scss/<%= pkg.name %>-reboot.scss' + } + }, docs: { options: options, files: { |
