1
0
Fork 0
peertube/scripts/build/index.sh

14 lines
217 B
Bash
Raw Normal View History

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