commit: 6b5ace14bd8067d24314dade2eb5b7b8e6331414
parent b1be28368b8db02fec347483cc76704acf462e8a
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"