1
0
Fork 0
peertube/scripts/build/server.sh
2020-06-02 09:21:33 +02:00

10 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"