PeerTube/scripts/build/server.sh

10 lines
135 B
Bash
Executable File

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