about summary refs log tree commit diff
path: root/scripts/prebuild.sh
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-11 19:33:24 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-11 19:33:24 +0200
commit5855198867cc0586b71b6d64f4581dffc7fe6cbb (patch)
tree663823d5af3711eb2777cef5a6e34484c901f9d9 /scripts/prebuild.sh
parent1e248151d5bd60e8c94ab26f272e5e9cf900ca7a (diff)
downloadpuszcza-5855198867cc0586b71b6d64f4581dffc7fe6cbb.tar.gz
puszcza-5855198867cc0586b71b6d64f4581dffc7fe6cbb.zip
Add api endpoint
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..22d8e00
--- /dev/null
+++ b/scripts/prebuild.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -x
+set -eou pipefail
+
+if [ -d ./kronika ]; then
+    cd kronika
+    git pull
+    cd ..
+else
+    git clone https://github.com/19pdh/kronika
+fi