PeerTube/scripts/build/server.sh

14 lines
362 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
npm run tsc -- -b --verbose
cp "./tsconfig.base.json" "./tsconfig.json" "./dist/"
cp "./scripts/tsconfig.json" "./dist/scripts/"
cp "./server/tsconfig.json" "./dist/server/"
cp "./shared/tsconfig.json" "./dist/shared/"
2019-10-18 12:03:32 +02:00
cp -r "./server/static" "./server/assets" "./dist/server"
2020-06-02 09:21:33 +02:00
cp -r "./server/lib/emails" "./dist/server/lib"