summaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2015-10-14 01:38:28 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2015-10-14 01:38:28 +0200
commit9f941f6de0bc60361f86fe8f4885b33b99c243a6 (patch)
treeb94babcc218425e9918401cceffc83b9c5f655e5 /Gruntfile.js
parentc2af70b9e5b53505a37bfd144ac5fff6d2af05a8 (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.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js9
1 files changed, 1 insertions, 8 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']);
};