aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/setup/cli.sh
blob: f84260f23849d42bb92f9bd00bab26c25be5b1f0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                       
                                                 

 
                                                         


                              
#!/bin/sh

set -eu

NOCLIENT=1 yarn install --pure-lockfile

rm -rf ./dist/server/tools/

(
    cd ./server/tools
    yarn install --pure-lockfile
    ../../node_modules/.bin/tsc --build --verbose
)

cp -r "./server/tools/node_modules" "./dist/server/tools"

npm run resolve-tspaths:cli
npm run resolve-tspaths:server