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:
parent
8611ed4dbd
commit
aa5f040a87
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user