Commit b43371cd authored by Mark Otto's avatar Mark Otto
Browse files

@nschonni's feedback <3

parent 1e4540f1
1 merge request!12037Bring back the `/docs` directory
Showing with 9 additions and 16 deletions
+9 -16
......@@ -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']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment