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













                                                   
                                                         
                             
#!/bin/sh

set -eu

NOCLIENT=1 yarn install --pure-lockfile

rm -rf ./dist/server/tools/

(
    cd ./server/tools
    yarn install --pure-lockfile
)

npm run tsc -- --build ./server/tools/tsconfig.json
cp -r "./server/tools/node_modules" "./dist/server/tools"
cp "./tsconfig.json" "./dist"