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 +-------- package.json | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) 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']); }; diff --git a/package.json b/package.json index 87ffc80..ca6ccfa 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "grunt-contrib-copy": "^0.8.1", "grunt-contrib-cssmin": "^0.14.0", "grunt-contrib-uglify": "^0.9.2", - "grunt-mkdir": "^0.1.1", "grunt-swig": "^0.2.1" } } -- cgit v1.2.3