1
0
Fork 0
peertube/scripts/build/server.sh
2024-03-20 09:15:07 +01:00

11 lines
251 B
Bash
Executable file

#!/bin/bash
set -eu
rm -rf ./dist ./packages/*/dist
npm run tsc -- -b --verbose server/tsconfig.json
npm run resolve-tspaths:server
cp -r "./server/core/static" "./server/core/assets" ./dist/core
cp "./server/scripts/upgrade.sh" "./dist/scripts"