mirror of https://github.com/Chocobozzz/PeerTube
17 lines
300 B
Bash
Executable File
17 lines
300 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 --verbose ./server/tools/tsconfig.json
|
|
cp -r "./server/tools/node_modules" "./dist/server/tools"
|
|
cp "./tsconfig.json" "./dist"
|