PeerTube/scripts/setup/cli.sh

17 lines
290 B
Bash
Raw Normal View History

#!/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
2019-06-13 11:09:38 +02:00
cp -r "./server/tools/node_modules" "./dist/server/tools"
2019-10-23 10:52:17 +02:00
cp "./tsconfig.json" "./dist"