mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Move CLI dependencies in their own package.json
This commit is contained in:
16
scripts/setup/cli.sh
Executable file
16
scripts/setup/cli.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user