build.sh (239B)
- #!/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"