1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00
Peertube/scripts/build/index.sh
2023-08-17 09:24:45 +02:00

12 lines
225 B
Bash
Executable file

#!/bin/bash
set -eu
npm run build:server
# Angular does not support project references, it's the reason why we can't builds concurrently
if [ ! -z ${1+x} ]; then
npm run build:client -- $1
else
npm run build:client
fi