publish-plugin-bim.sh 281 B

12345678910111213
  1. #!/bin/bash
  2. cd ../
  3. rm -rf plugin-bim
  4. git clone https://git.finogeeks.club/finoapp-desktop/plugin-bim.git
  5. cd plugin-bim
  6. yarn
  7. yarn build
  8. cd dist && zip -q -r dist.zip *
  9. cd ../../
  10. rm -rf static/bim
  11. mkdir -p static/bim
  12. unzip -o plugin-bim/dist/dist.zip -d static/bim
  13. rm -rf plugin-bim