mirror of https://github.com/Chocobozzz/PeerTube
Fix build
parent
c380e39285
commit
0632cdda04
|
@ -2,12 +2,11 @@
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
if [ ! -z ${1+x} ]; then
|
npm run build:server
|
||||||
clientCommand="npm run build:client -- $1"
|
|
||||||
else
|
|
||||||
clientCommand="npm run build:client"
|
|
||||||
fi
|
|
||||||
|
|
||||||
npm run concurrently -- --raw \
|
# Angular does not support project references, it's the reason why we can't builds concurrently
|
||||||
"$clientCommand" \
|
if [ ! -z ${1+x} ]; then
|
||||||
"npm run build:server"
|
npm run build:client -- $1
|
||||||
|
else
|
||||||
|
npm run build:client
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue