mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
rename gruntfile less tasks
This commit is contained in:
parent
8611ed4dbd
commit
aa5f040a87
@ -149,7 +149,7 @@ module.exports = function (grunt) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
less: {
|
less: {
|
||||||
compileCore: {
|
core: {
|
||||||
options: {
|
options: {
|
||||||
strictMath: true,
|
strictMath: true,
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
@ -160,7 +160,7 @@ module.exports = function (grunt) {
|
|||||||
src: 'less/bootstrap.less',
|
src: 'less/bootstrap.less',
|
||||||
dest: 'dist/css/<%= pkg.name %>.css'
|
dest: 'dist/css/<%= pkg.name %>.css'
|
||||||
},
|
},
|
||||||
compileDocs: {
|
docs: {
|
||||||
options: {
|
options: {
|
||||||
strictMath: true
|
strictMath: true
|
||||||
},
|
},
|
||||||
@ -388,7 +388,7 @@ module.exports = function (grunt) {
|
|||||||
grunt.registerTask('dist-js', ['concat', 'uglify:core', 'commonjs']);
|
grunt.registerTask('dist-js', ['concat', 'uglify:core', 'commonjs']);
|
||||||
|
|
||||||
// CSS distribution task.
|
// 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']);
|
grunt.registerTask('dist-css', ['less-compile', 'autoprefixer:core', 'usebanner', 'csscomb:dist', 'cssmin:core']);
|
||||||
|
|
||||||
// Full distribution task.
|
// Full distribution task.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user