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













                                                             
#!/bin/bash

set -eu

rm -rf ./dist/server/tools/

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

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

npm run tsc -- --watch --project ./server/tools/tsconfig.json