diff options
| author | Mark Otto <[email protected]> | 2013-12-31 10:51:39 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-31 10:51:39 -0800 |
| commit | 1e4540f11bf460bf8f0dd53409951ad0fe14a603 (patch) | |
| tree | ea61fd8a2c43489b86c0db447e836fb50b129a80 | |
| parent | 0df96d8c320d664336707e1f6f9e5b254a6edb23 (diff) | |
| download | bootstrap-1e4540f11bf460bf8f0dd53409951ad0fe14a603.tar.xz bootstrap-1e4540f11bf460bf8f0dd53409951ad0fe14a603.zip | |
@cvrebert's feedback
| -rw-r--r-- | Gruntfile.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 111f85e41..0e707e0cd 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -200,19 +200,19 @@ module.exports = function (grunt) { src: ['fonts/*'], dest: 'dist/' }, - dist_css: { + docsDistCss: { expand: true, cwd: './dist/css', src: ['*.min.css', '*.css.map'], dest: 'docs/dist/css' }, - dist_js: { + docsDistJs: { expand: true, cwd: './dist/js', src: ['*.min.js'], dest: 'docs/dist/js' }, - dist_fonts: { + docsDistFonts: { expand: true, src: ['fonts/*'], dest: 'docs/dist/' @@ -326,10 +326,10 @@ module.exports = function (grunt) { grunt.registerTask('dist-css', ['less', 'csscomb', 'usebanner']); // Fonts distribution task. - grunt.registerTask('dist-docs', ['copy']); + grunt.registerTask('dist-docs', ['copy:docsDistCss'], ['copy:docsDistJs'], ['copy:docsDistFonts']); // Full distribution task. - grunt.registerTask('dist', ['clean', 'dist-css', 'dist-docs', 'dist-js']); + grunt.registerTask('dist', ['clean', 'dist-css', 'copy:fonts', 'dist-js']); // Default task. grunt.registerTask('default', ['test', 'dist', 'build-glyphicons-data', 'build-customizer']); |
