1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00
Peertube/scripts/build/index.sh
2019-12-18 11:01:59 +01:00

13 lines
216 B
Bash
Executable file

#!/bin/sh
set -eu
if [[ -n ${1+x} ]]; then
clientCommand="npm run build:client -- $1"
else
clientCommand="npm run build:client"
fi
npm run concurrently -- --raw \
"$clientCommand" \
"npm run build:server"