0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

rename gruntfile less tasks

This commit is contained in:
Mark Otto 2014-11-10 00:19:38 -08:00
parent 8611ed4dbd
commit aa5f040a87

View File

@ -149,7 +149,7 @@ module.exports = function (grunt) {
},
less: {
compileCore: {
core: {
options: {
strictMath: true,
sourceMap: true,
@ -160,7 +160,7 @@ module.exports = function (grunt) {
src: 'less/bootstrap.less',
dest: 'dist/css/<%= pkg.name %>.css'
},
compileDocs: {
docs: {
options: {
strictMath: true
},
@ -388,7 +388,7 @@ module.exports = function (grunt) {
grunt.registerTask('dist-js', ['concat', 'uglify:core', 'commonjs']);
// CSS distribution task.
grunt.registerTask('less-compile', ['less:compileCore', 'less:compileDocs']);
grunt.registerTask('less-compile', ['less:core', 'less:docs']);
grunt.registerTask('dist-css', ['less-compile', 'autoprefixer:core', 'usebanner', 'csscomb:dist', 'cssmin:core']);
// Full distribution task.