mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
@nschonni's feedback <3
This commit is contained in:
parent
1e4540f11b
commit
b43371cd0a
25
Gruntfile.js
25
Gruntfile.js
@ -200,22 +200,15 @@ module.exports = function (grunt) {
|
||||
src: ['fonts/*'],
|
||||
dest: 'dist/'
|
||||
},
|
||||
docsDistCss: {
|
||||
docs: {
|
||||
expand: true,
|
||||
cwd: './dist/css',
|
||||
src: ['*.min.css', '*.css.map'],
|
||||
dest: 'docs/dist/css'
|
||||
},
|
||||
docsDistJs: {
|
||||
expand: true,
|
||||
cwd: './dist/js',
|
||||
src: ['*.min.js'],
|
||||
dest: 'docs/dist/js'
|
||||
},
|
||||
docsDistFonts: {
|
||||
expand: true,
|
||||
src: ['fonts/*'],
|
||||
dest: 'docs/dist/'
|
||||
cwd: './dist',
|
||||
src: [
|
||||
'{css,js}/*.min.*',
|
||||
'{css}*.map',
|
||||
'fonts/*'
|
||||
],
|
||||
dest: 'docs/dist'
|
||||
}
|
||||
},
|
||||
|
||||
@ -326,7 +319,7 @@ module.exports = function (grunt) {
|
||||
grunt.registerTask('dist-css', ['less', 'csscomb', 'usebanner']);
|
||||
|
||||
// Fonts distribution task.
|
||||
grunt.registerTask('dist-docs', ['copy:docsDistCss'], ['copy:docsDistJs'], ['copy:docsDistFonts']);
|
||||
grunt.registerTask('dist-docs', ['copy:docs']);
|
||||
|
||||
// Full distribution task.
|
||||
grunt.registerTask('dist', ['clean', 'dist-css', 'copy:fonts', 'dist-js']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user