From c229f3ceeac8ec6708f382bf44cf17b68c59c363 Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Fri, 27 Jun 2014 16:56:32 +0200 Subject: shell fix --- Gruntfile.js | 8 ++------ build.sh | 2 ++ 2 files changed, 4 insertions(+), 6 deletions(-) create mode 100755 build.sh diff --git a/Gruntfile.js b/Gruntfile.js index 972e303..6fd1978 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -69,13 +69,9 @@ module.exports = function(grunt) { } }, command : { - make_images_md: { + build: { type: 'shell', - cmd: 'php images.php md' - }, - make_index_html: { - type: 'shell', - cmd: 'php index.php > index.html' + cmd: './build.sh' } } }); diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..aaca1a2 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +php images.php md +php index.php > index.html -- cgit v1.2.3