From 9f941f6de0bc60361f86fe8f4885b33b99c243a6 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Tue, 13 Oct 2015 23:38:28 +0000 Subject: Remove unused grunt-mkdir task This does nothing as far as I see it, no dist/img/ is created. And hey, it works without it. grunt-contrib-copy can create directories for us. --- Gruntfile.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index e8b9793..e0a9d88 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -55,12 +55,6 @@ module.exports = function (grunt) { } } }, - mkdir: { - options: { - mode: 0700, - create: ['dist/img'] - } - }, copy: { dist: { files: [{ @@ -80,10 +74,9 @@ module.exports = function (grunt) { }); grunt.loadNpmTasks('grunt-swig'); - grunt.loadNpmTasks('grunt-mkdir'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-cssmin'); grunt.loadNpmTasks('grunt-contrib-copy'); - grunt.registerTask('default', ['mkdir', 'swig', 'cssmin', 'uglify', 'copy']); + grunt.registerTask('default', ['swig', 'cssmin', 'uglify', 'copy']); }; -- cgit v1.2.3