commit: fdc3f6be3a25f1ff1c95937f2321524f3b79efbc
parent: 91272dc5558e1326dac872f927dc8da7f9109cd0
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 30 Apr 2018 09:25:27 +0200
build.sh: New file
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/build.sh b/build.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+TARGET="../pleroma" # Where pleroma’s repository is sitting
+
+yarn install -D
+
+rm -rf dist/*
+npm run build
+
+cp dist/index.html "${TARGET}/priv/static/index.html"
+rsync --delete -ra dist/static/ "${TARGET}/priv/static/static"