aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/peertube-cli.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/peertube-cli.sh')
-rw-r--r--scripts/build/peertube-cli.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/build/peertube-cli.sh b/scripts/build/peertube-cli.sh
new file mode 100644
index 000000000..51886a0db
--- /dev/null
+++ b/scripts/build/peertube-cli.sh
@@ -0,0 +1,12 @@
1#!/bin/bash
2
3set -eu
4
5cd ./apps/peertube-cli
6rm -rf ./dist
7
8../../node_modules/.bin/tsc -b --verbose
9rm -rf ./dist
10mkdir ./dist
11
12node ./scripts/build.js