diff options
| author | Mark Otto <[email protected]> | 2014-05-12 22:01:29 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-05-12 22:01:29 -0700 |
| commit | 58f03754c6f55d183a2cde13bbc8a7a942d8266e (patch) | |
| tree | 90e6bb1eb05b5f910d74e04c480323651f8a4b68 | |
| parent | e52920ca8738590eff900cb6846414c945313ae7 (diff) | |
| download | bootstrap-58f03754c6f55d183a2cde13bbc8a7a942d8266e.tar.xz bootstrap-58f03754c6f55d183a2cde13bbc8a7a942d8266e.zip | |
unfuck the gruntifle
| -rw-r--r-- | Gruntfile.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 5dba24335..52949f39e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -20,7 +20,7 @@ module.exports = function (grunt) { var generateGlyphiconsData = require('./grunt/bs-glyphicons-data-generator.js'); var BsLessdocParser = require('./grunt/bs-lessdoc-parser.js'); var generateRawFiles = require('./grunt/bs-raw-files-generator.js'); - // var updateShrinkwrap = require('./grunt/shrinkwrap.js'); + var updateShrinkwrap = require('./grunt/shrinkwrap.js'); // Project configuration. grunt.initConfig({ @@ -182,6 +182,7 @@ module.exports = function (grunt) { }, files: { 'dist/css/<%= pkg.name %>.min.css': 'dist/css/<%= pkg.name %>.css', + 'dist/css/<%= pkg.name %>-rtl.min.css': 'dist/css/<%= pkg.name %>-rtl.css', 'dist/css/<%= pkg.name %>-theme.min.css': 'dist/css/<%= pkg.name %>-theme.css' } } @@ -237,8 +238,7 @@ module.exports = function (grunt) { cssmin: { options: { compatibility: 'ie8', - keepSpecialComments: '*', - noAdvanced: true + keepSpecialComments: '*' }, docs: { src: [ @@ -388,9 +388,9 @@ module.exports = function (grunt) { npmUpdate: { command: 'npm update' }, - // npmShrinkWrap: { - // command: 'npm shrinkwrap --dev' - // } + npmShrinkWrap: { + command: 'npm shrinkwrap --dev' + } } }); @@ -435,7 +435,7 @@ module.exports = function (grunt) { grunt.registerTask('dist', ['clean', 'dist-css', 'copy:fonts', 'dist-js', 'dist-docs']); // Default task. - grunt.registerTask('default', ['test', 'dist', 'build-glyphicons-data', 'build-customizer']); + grunt.registerTask('default', ['test', 'dist', 'build-glyphicons-data', 'build-customizer', 'update-shrinkwrap']); // Version numbering task. // grunt change-version-number --oldver=A.B.C --newver=X.Y.Z @@ -453,6 +453,6 @@ module.exports = function (grunt) { }); // Task for updating the npm packages used by the Travis build. - // grunt.registerTask('update-shrinkwrap', ['exec:npmUpdate', 'exec:npmShrinkWrap', '_update-shrinkwrap']); - // grunt.registerTask('_update-shrinkwrap', function () { updateShrinkwrap.call(this, grunt); }); + grunt.registerTask('update-shrinkwrap', ['exec:npmUpdate', 'exec:npmShrinkWrap', '_update-shrinkwrap']); + grunt.registerTask('_update-shrinkwrap', function () { updateShrinkwrap.call(this, grunt); }); }; |
