commit: 234b4efceaf1edabf46741dd023c6f3ef920b767
parent 7a79a6cb994c06faca6ecef4c1b950f38fb4f501
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/*
+yarn run build
+
+cp dist/* "${TARGET}/priv/static/"
+rsync -ra --delete --exclude=static-fe* dist/static/ "${TARGET}/priv/static/static"