PeerTube/scripts/build/server.sh

11 lines
185 B
Bash
Raw Normal View History

2020-02-19 08:57:32 +01:00
#!/bin/bash
2018-03-27 10:35:12 +02:00
set -eu
2017-06-10 22:57:31 +02:00
rm -rf ./dist
npm run tsc
2019-10-21 16:02:15 +02:00
cp "./tsconfig.json" "./dist"
2019-10-18 12:03:32 +02:00
cp -r "./server/static" "./server/assets" "./dist/server"
2020-06-02 09:21:33 +02:00
cp -r "./server/lib/emails" "./dist/server/lib"