From d10b5217f3228f75a0c876b424b1eda9905c7d49 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 15 May 2016 20:57:03 +0100 Subject: [PATCH] Create generation script --- scripts/generate-site.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scripts/generate-site.sh diff --git a/scripts/generate-site.sh b/scripts/generate-site.sh new file mode 100644 index 0000000..40b8614 --- /dev/null +++ b/scripts/generate-site.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e + +echo "> Creating Site..." + +# Build the static data +echo ">> Building static data..." +npm run build $@ + +echo ">> Compiling site pages..." +pelican -v + +echo "> Build complete."