build always the frontend

This commit is contained in:
jb-alvarado 2022-08-19 13:45:35 +02:00
parent bff1797733
commit c4350cd64f

View File

@ -2,16 +2,18 @@
source $(dirname "$0")/man_create.sh
if [[ ! -d public ]]; then
cd ffplayout-frontend
echo "build frontend"
echo
npm install
npm run build
yes | rm -rf ../public
mv dist ../public
yes | rm -rf public
cd ffplayout-frontend
npm install
npm run build
mv dist ../public
cd ..
cd ..
fi
targets=("x86_64-unknown-linux-musl" "aarch64-unknown-linux-gnu" "x86_64-pc-windows-gnu" "x86_64-apple-darwin" "aarch64-apple-darwin")