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

set -eu

if [[ -n ${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"