diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-14 01:38:28 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-14 01:38:28 +0200 |
| commit | 9f941f6de0bc60361f86fe8f4885b33b99c243a6 (patch) | |
| tree | b94babcc218425e9918401cceffc83b9c5f655e5 | |
| parent | c2af70b9e5b53505a37bfd144ac5fff6d2af05a8 (diff) | |
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.
| -rw-r--r-- | Gruntfile.js | 9 | ||||
| -rw-r--r-- | package.json | 1 |
2 files changed, 1 insertions, 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" } } |
