logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

build.sh (280B)


  1. #!/bin/sh
  2. TARGET="../pleroma" # Where pleroma’s repository is sitting
  3. rm -rf public/packs public/assets
  4. env -i "PATH=$PATH" npm run build
  5. cp public/assets/sw.js "${TARGET}/priv/static/sw.js"
  6. rm -rf "${TARGET}/priv/static/packs"
  7. cp -r public/packs "${TARGET}/priv/static/packs"