]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/server.sh
Move typescript utils in its own directory
[github/Chocobozzz/PeerTube.git] / scripts / build / server.sh
index 2ec83a3e1ade0d224febf287e09e4236caf1a8ad..865bdd095d3ec593691870975af48b119cad5553 100755 (executable)
@@ -4,6 +4,10 @@ set -eu
 
 rm -rf ./dist
 
-npm run tsc
-cp "./tsconfig.json" "./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/"
 cp -r "./server/static" "./server/assets" "./dist/server"
+cp -r "./server/lib/emails" "./dist/server/lib"