PeerTube/scripts/build/server.sh
2020-06-02 09:21:33 +02:00

11 lines
185 B
Bash
Executable File

#!/bin/bash
set -eu
rm -rf ./dist
npm run tsc
cp "./tsconfig.json" "./dist"
cp -r "./server/static" "./server/assets" "./dist/server"
cp -r "./server/lib/emails" "./dist/server/lib"