aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/index.sh
blob: bf6ad48ebe3fb753986ee436ef64c94d7a8a7ae2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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"