aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/index.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-18 11:01:59 +0100
committerChocobozzz <me@florianbigard.com>2019-12-18 11:01:59 +0100
commit9f0327aeb39c307ce7da28dda57cc526c928ca62 (patch)
tree8f00887ccf055cee8644a58605ec37e428e54aae /scripts/build/index.sh
parent03d641a0d7f996de44ec898ad739bc4050514ba1 (diff)
downloadPeerTube-9f0327aeb39c307ce7da28dda57cc526c928ca62.tar.gz
PeerTube-9f0327aeb39c307ce7da28dda57cc526c928ca62.tar.zst
PeerTube-9f0327aeb39c307ce7da28dda57cc526c928ca62.zip
Fix build
Diffstat (limited to 'scripts/build/index.sh')
-rwxr-xr-xscripts/build/index.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/build/index.sh b/scripts/build/index.sh
index fde6efe32..12359e68f 100755
--- a/scripts/build/index.sh
+++ b/scripts/build/index.sh
@@ -2,6 +2,12 @@
2 2
3set -eu 3set -eu
4 4
5npm run concurrently -- -k \ 5if [[ -n ${1+x} ]]; then
6 "npm run build:client" \ 6 clientCommand="npm run build:client -- $1"
7else
8 clientCommand="npm run build:client"
9fi
10
11npm run concurrently -- --raw \
12 "$clientCommand" \
7 "npm run build:server" 13 "npm run build:server"