about summary refs log tree commit diff
path: root/scripts/prebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/prebuild.sh')
-rwxr-xr-xscripts/prebuild.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/prebuild.sh b/scripts/prebuild.sh
new file mode 100755
index 0000000..937bf5f
--- /dev/null
+++ b/scripts/prebuild.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -x
+set -eou pipefail
+
+if [ -d ./content ]; then
+    cd content
+    git pull
+    cd ..
+else
+    git clone https://github.com/19pdh/kronika content
+fi