diff options
author | Victor Häggqvist <[email protected]> | 2014-06-27 16:24:47 +0200 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2014-06-27 16:24:47 +0200 |
commit | 86ea72c5acc96870bb2f9fac753d75307caf4d6e (patch) | |
tree | 8a709109ac22e7c4e21bf33e0e5b5582402a626e /Gruntfile.js | |
parent | 3df10d731dbdac3618359b1562776b71dbf34de9 (diff) |
simplify build
Diffstat (limited to '')
-rw-r--r-- | Gruntfile.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 82a32c5..ddf8578 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -67,6 +67,16 @@ module.exports = function(grunt) { dest: './', filter: 'isFile' } + }, + command : { + make_images_md: { + type: 'shell', + cmd: 'php images.php md' + }, + make_index_html: { + type: 'shell', + cmd: 'php index.php > index.html' + } } }); @@ -74,8 +84,9 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-sass'); grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-responsive-images'); + grunt.loadNpmTasks('grunt-contrib-commands'); // Default task. - grunt.registerTask('default', ['responsive_images', 'sass', 'copy']); + grunt.registerTask('default', ['responsive_images', 'sass', 'copy', 'command']); }; |