aboutsummaryrefslogtreecommitdiff
path: root/grunt
diff options
context:
space:
mode:
authorBardi Harborow <[email protected]>2017-01-03 11:46:57 +1100
committerBardi Harborow <[email protected]>2017-01-04 12:28:06 +1100
commit450ef91b7db53dff5630a49331682abd578068f6 (patch)
treecafdd9d75e59353e6f0396d095227a8a10ba4e4f /grunt
parent56f917dd8c1f97048f0982570c6ed9b4cacf8752 (diff)
downloadbootstrap-450ef91b7db53dff5630a49331682abd578068f6.tar.xz
bootstrap-450ef91b7db53dff5630a49331682abd578068f6.zip
Move node-sass to npm script and drop Ruby Sass.
Diffstat (limited to 'grunt')
-rw-r--r--grunt/bs-sass-compile/libsass.js33
-rw-r--r--grunt/bs-sass-compile/sass.js37
2 files changed, 0 insertions, 70 deletions
diff --git a/grunt/bs-sass-compile/libsass.js b/grunt/bs-sass-compile/libsass.js
deleted file mode 100644
index 06b9dcc0c..000000000
--- a/grunt/bs-sass-compile/libsass.js
+++ /dev/null
@@ -1,33 +0,0 @@
-// Compile Bootstrap with [libsass][1] using [grunt-sass][2]
-// [1]: https://github.com/sass/libsass
-// [2]: https://github.com/sindresorhus/grunt-sass
-module.exports = function configureLibsass(grunt) {
- grunt.config.merge({
- sass: {
- options: {
- includePaths: ['scss'],
- precision: 6,
- sourceComments: false,
- sourceMap: true,
- outputStyle: 'expanded'
- },
- core: {
- files: {
- 'dist/css/<%= pkg.name %>.css': 'scss/<%= pkg.name %>.scss'
- }
- },
- extras: {
- files: {
- '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'
- }
- }
- }
- })
- grunt.loadNpmTasks('grunt-sass')
-}
diff --git a/grunt/bs-sass-compile/sass.js b/grunt/bs-sass-compile/sass.js
deleted file mode 100644
index dadd93d40..000000000
--- a/grunt/bs-sass-compile/sass.js
+++ /dev/null
@@ -1,37 +0,0 @@
-// Compile Bootstrap with [Ruby Sass][1] using [grunt-contrib-sass][2]
-// [1]: https://github.com/sass/sass
-// [2]: https://github.com/gruntjs/grunt-contrib-sass
-module.exports = function configureRubySass(grunt) {
- var options = {
- loadPath: ['scss'],
- precision: 6,
- sourcemap: 'auto',
- style: 'expanded',
- trace: true,
- bundleExec: true
- }
- grunt.config.merge({
- sass: {
- core: {
- options: options,
- files: {
- 'dist/css/<%= pkg.name %>.css': 'scss/<%= pkg.name %>.scss'
- }
- },
- extras: {
- options: options,
- files: {
- '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: {
- 'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss'
- }
- }
- }
- })
- grunt.loadNpmTasks('grunt-contrib-sass')
-}