aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/build/index.sh
blob: bf6ad48ebe3fb753986ee436ef64c94d7a8a7ae2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
           

       
                        



                                            
                               
                    
                        
#!/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"