]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/build/server.sh
Move zxx to its own group in select-languages component (#4664)
[github/Chocobozzz/PeerTube.git] / scripts / build / server.sh
1 #!/bin/bash
2
3 set -eu
4
5 rm -rf ./dist
6
7 npm run tsc -- -b --verbose
8 cp "./tsconfig.base.json" "./tsconfig.json" "./dist/"
9 cp "./scripts/tsconfig.json" "./dist/scripts/"
10 cp "./server/tsconfig.json" "./dist/server/"
11 cp "./shared/tsconfig.json" "./dist/shared/"
12 cp -r "./server/static" "./server/assets" "./dist/server"
13 cp -r "./server/lib/emails" "./dist/server/lib"