#!/bin/bash
pwd

yarn
npm run build:devAli

rm -rf ~/project/examcloud/static/student-client/dist/*
mkdir -p ~/project/examcloud/static/student-client
cp -r  dist ~/project/examcloud/static/student-client/

rm -rf ~/packages/static/student-client/*
mkdir -p ~/packages/static/student-client
cp -r dist ~/packages/static/student-client/

cd ~/packages/static/
rm -rf student-client.tar.gz
tar -zcvf student-client.tar.gz student-client/

