summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-22 23:34:11 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-22 23:34:11 +0200
commit5f914a980ce398be8c28708b6910944e2beb74c1 (patch)
tree2a1b3c58448c73070a21ef6704151fcb796b4531 /bootstrap
parent873f0ac8448a7f4d2efaef4e9ab9840e90a3b867 (diff)
downloadmerchant-5f914a980ce398be8c28708b6910944e2beb74c1.tar.gz
merchant-5f914a980ce398be8c28708b6910944e2beb74c1.tar.bz2
merchant-5f914a980ce398be8c28708b6910944e2beb74c1.zip
integrate SPA
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap12
1 files changed, 12 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 5fbaf9b7..23e2cbce 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,5 +1,7 @@
#!/bin/sh
+set -eu
+
if ! git --version >/dev/null; then
echo "git not installed"
exit 1
@@ -29,3 +31,13 @@ fi
echo "$0: Running autoreconf"
autoreconf -if
+
+echo "Building single-page app (from external Git repository)"
+cd contrib/merchant-backoffice
+./bootstrap
+./configure
+make build-single
+cp packages/frontend/single/index.html ../spa.html
+cd ../..
+
+exit 0