build always the frontend
This commit is contained in:
parent
bff1797733
commit
c4350cd64f
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user