build always the frontend
This commit is contained in:
parent
bff1797733
commit
c4350cd64f
@ -2,16 +2,18 @@
|
|||||||
|
|
||||||
source $(dirname "$0")/man_create.sh
|
source $(dirname "$0")/man_create.sh
|
||||||
|
|
||||||
if [[ ! -d public ]]; then
|
echo "build frontend"
|
||||||
cd ffplayout-frontend
|
echo
|
||||||
|
|
||||||
npm install
|
yes | rm -rf public
|
||||||
npm run build
|
cd ffplayout-frontend
|
||||||
yes | rm -rf ../public
|
|
||||||
mv dist ../public
|
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")
|
targets=("x86_64-unknown-linux-musl" "aarch64-unknown-linux-gnu" "x86_64-pc-windows-gnu" "x86_64-apple-darwin" "aarch64-apple-darwin")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user