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
2020-02-19 08:57:32 +01:00

13 lines
218 B
Bash
Executable file

#!/bin/bash
set -eu
if [ ! -z ${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"