aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/index.sh
blob: d7d04fd083ed83c083f33d0417115555a0d7440b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

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"