diff options
Diffstat (limited to 'scripts/build/peertube-cli.sh')
-rw-r--r-- | scripts/build/peertube-cli.sh | 12 |
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 | |||
3 | set -eu | ||
4 | |||
5 | cd ./apps/peertube-cli | ||
6 | rm -rf ./dist | ||
7 | |||
8 | ../../node_modules/.bin/tsc -b --verbose | ||
9 | rm -rf ./dist | ||
10 | mkdir ./dist | ||
11 | |||
12 | node ./scripts/build.js | ||