1
0
Fork 0
peertube/scripts/setup/cli.sh
2019-10-23 10:53:20 +02:00

16 lines
290 B
Bash
Executable file

#!/bin/sh
set -eu
NOCLIENT=1 yarn install --pure-lockfile
rm -rf ./dist/server/tools/
(
cd ./server/tools
yarn install --pure-lockfile
)
npm run tsc -- --build ./server/tools/tsconfig.json
cp -r "./server/tools/node_modules" "./dist/server/tools"
cp "./tsconfig.json" "./dist"