PeerTube/scripts/build/server.sh

12 lines
251 B
Bash
Raw Normal View History

2020-02-19 08:57:32 +01:00
#!/bin/bash
2018-03-27 10:35:12 +02:00
set -eu
2017-06-10 22:57:31 +02:00
rm -rf ./dist ./packages/*/dist
2017-06-10 22:57:31 +02:00
npm run tsc -- -b --verbose server/tsconfig.json
npm run resolve-tspaths:server
2023-10-04 15:13:25 +02:00
cp -r "./server/core/static" "./server/core/assets" ./dist/core
cp "./server/scripts/upgrade.sh" "./dist/scripts"