PeerTube/scripts/build/index.sh

14 lines
216 B
Bash
Raw Normal View History

2019-12-17 08:33:58 -06:00
#!/bin/sh
set -eu
2019-12-18 04:01:59 -06:00
if [[ -n ${1+x} ]]; then
clientCommand="npm run build:client -- $1"
else
clientCommand="npm run build:client"
fi
npm run concurrently -- --raw \
"$clientCommand" \
2019-12-17 08:33:58 -06:00
"npm run build:server"