commit: c0242ee0c3fcd89ad7f2b314c88a777e19561a13
parent ebd3b7d9f569186a612b5f019deaa895c5cf3417
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 30 Apr 2018 09:25:27 +0200
build.sh: New file
Note: This is only there for legacy reasons as I switched to ebuilds instead.
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/*
+yarn run build
+
+cp dist/* "${TARGET}/priv/static/"
+rsync -ra --delete --exclude=static-fe* dist/static/ "${TARGET}/priv/static/static"