summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-06-27 16:56:32 +0200
committerVictor Häggqvist <[email protected]>2014-06-27 16:56:32 +0200
commitc229f3ceeac8ec6708f382bf44cf17b68c59c363 (patch)
tree127d8ad56141573e6fdcefcfb671e77bec12a9b5
parente8571ad48565cfeff128215b890a5f2628dba0ed (diff)
shell fix
-rw-r--r--Gruntfile.js8
-rwxr-xr-xbuild.sh2
2 files changed, 4 insertions, 6 deletions
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