PeerTube/scripts/setup/cli.sh

19 lines
318 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
../../node_modules/.bin/tsc --build --verbose
)
2019-06-13 04:09:38 -05:00
cp -r "./server/tools/node_modules" "./dist/server/tools"
npm run resolve-tspaths:cli
npm run resolve-tspaths:server