summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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