aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-08-17 09:24:45 +0200
committerChocobozzz <me@florianbigard.com>2023-08-17 09:24:45 +0200
commit0632cdda04cdc3672de9a71b16c67267e420953f (patch)
tree913429bb878478928b26938d59d1431954697977
parentc380e3928517eb5311b38cf257816642617d7a33 (diff)
downloadPeerTube-0632cdda04cdc3672de9a71b16c67267e420953f.tar.gz
PeerTube-0632cdda04cdc3672de9a71b16c67267e420953f.tar.zst
PeerTube-0632cdda04cdc3672de9a71b16c67267e420953f.zip
Fix build
-rwxr-xr-xscripts/build/index.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/build/index.sh b/scripts/build/index.sh
index bf6ad48eb..09e6f11ad 100755
--- a/scripts/build/index.sh
+++ b/scripts/build/index.sh
@@ -2,12 +2,11 @@
2 2
3set -eu 3set -eu
4 4
5npm run build:server
6
7# Angular does not support project references, it's the reason why we can't builds concurrently
5if [ ! -z ${1+x} ]; then 8if [ ! -z ${1+x} ]; then
6 clientCommand="npm run build:client -- $1" 9 npm run build:client -- $1
7else 10else
8 clientCommand="npm run build:client" 11 npm run build:client
9fi 12fi
10
11npm run concurrently -- --raw \
12 "$clientCommand" \
13 "npm run build:server"