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