fluffychat/scripts/prepare-web.sh
2022-02-01 07:39:44 +00:00

7 lines
329 B
Bash
Executable File

#!/bin/sh -ve
rm -r assets/js/package
cd assets/js/ && curl -L 'https://gitlab.com/famedly/company/frontend/libraries/olm/-/jobs/artifacts/master/download?job=build:js' > olm.zip && cd ../../
cd assets/js/ && unzip olm.zip && cd ../../
cd assets/js/ && rm olm.zip && cd ../../
cd assets/js/ && mv javascript package && cd ../../