aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/setup/cli.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/setup/cli.sh')
-rwxr-xr-xscripts/setup/cli.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/setup/cli.sh b/scripts/setup/cli.sh
new file mode 100755
index 000000000..9808868d3
--- /dev/null
+++ b/scripts/setup/cli.sh
@@ -0,0 +1,16 @@
1#!/bin/sh
2
3set -eu
4
5NOCLIENT=1 yarn install --pure-lockfile
6
7rm -rf ./dist/server/tools/
8
9(
10 cd ./server/tools
11 yarn install --pure-lockfile
12)
13
14npm run tsc -- --build ./server/tools/tsconfig.json
15
16mv "./server/tools/node_modules" "./dist/server/tools"