]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/server.sh
Fix bug with tsconfig paths
[github/Chocobozzz/PeerTube.git] / scripts / build / server.sh
index 811da2154425093bf666f970e18ba90e33288eda..d66a524757399146e621d63db64699a07001f219 100755 (executable)
@@ -1,5 +1,9 @@
-#!/usr/bin/env sh
+#!/bin/sh
+
+set -eu
 
 rm -rf ./dist
 
 npm run tsc
+cp "./tsconfig.json" "./dist"
+cp -r "./server/static" "./server/assets" "./dist/server"