1
0
Fork 0
peertube/scripts/setup/cli.sh
Chocobozzz f8360396ff
Stop using tsconfig register
Prefer to replace paths at compile time
2022-01-06 08:26:14 +01:00

18 lines
318 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
../../node_modules/.bin/tsc --build --verbose
)
cp -r "./server/tools/node_modules" "./dist/server/tools"
npm run resolve-tspaths:cli
npm run resolve-tspaths:server