Skip to content

Commit

Permalink
chore: Fix prepare-web.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
drminh2807 authored and hoangdat committed Aug 21, 2023
1 parent d3cdb69 commit ca2457f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ prime

# libolm package
/assets/js/package
/assets/assets/js/package

# IntelliJ related
*.iml
Expand Down
7 changes: 7 additions & 0 deletions scripts/prepare-web-debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh -ve
cd assets
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 ../../

0 comments on commit ca2457f

Please sign in to comment.