aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/build/server.sh
blob: b903f8250b3b410b1cbf4c1de27015f163a708e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
           

       



             
                             
                                                         
                                               
#!/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"