diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-18 11:01:59 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-18 11:01:59 +0100 |
commit | 9f0327aeb39c307ce7da28dda57cc526c928ca62 (patch) | |
tree | 8f00887ccf055cee8644a58605ec37e428e54aae /scripts/build/index.sh | |
parent | 03d641a0d7f996de44ec898ad739bc4050514ba1 (diff) | |
download | PeerTube-9f0327aeb39c307ce7da28dda57cc526c928ca62.tar.gz PeerTube-9f0327aeb39c307ce7da28dda57cc526c928ca62.tar.zst PeerTube-9f0327aeb39c307ce7da28dda57cc526c928ca62.zip |
Fix build
Diffstat (limited to 'scripts/build/index.sh')
-rwxr-xr-x | scripts/build/index.sh | 10 |
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 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | npm run concurrently -- -k \ | 5 | if [[ -n ${1+x} ]]; then |
6 | "npm run build:client" \ | 6 | clientCommand="npm run build:client -- $1" |
7 | else | ||
8 | clientCommand="npm run build:client" | ||
9 | fi | ||
10 | |||
11 | npm run concurrently -- --raw \ | ||
12 | "$clientCommand" \ | ||
7 | "npm run build:server" | 13 | "npm run build:server" |