first build frontend

This commit is contained in:
jb-alvarado 2022-07-26 13:08:49 +02:00
parent bf516b6ace
commit b58bdd2831
2 changed files with 9 additions and 10 deletions

@ -1 +1 @@
Subproject commit c02141af54762961cf559248a3c9d42e9d317e0b
Subproject commit 0dcd1646938a6ec66573c057ef959ffd000eff5c

View File

@ -1,5 +1,13 @@
#!/usr/bin/bash
cd ffplayout-frontend
npm install
npm run build
yes | rm -rf ../public
mv dist ../public
cd ..
targets=("x86_64-unknown-linux-musl" "aarch64-unknown-linux-gnu" "x86_64-pc-windows-gnu" "x86_64-apple-darwin" "aarch64-apple-darwin")
@ -54,15 +62,6 @@ for target in "${targets[@]}"; do
echo ""
done
cd ffplayout-frontend
npm install
npm run build
yes | rm -rf ../public
mv dist ../public
cd ..
cargo deb --target=x86_64-unknown-linux-musl -p ffplayout --manifest-path=ffplayout-engine/Cargo.toml -o ffplayout_${version}_amd64.deb
cargo deb --target=aarch64-unknown-linux-gnu --variant=arm64 -p ffplayout --manifest-path=ffplayout-engine/Cargo.toml -o ffplayout_${version}_arm64.deb