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

       


             
                           

                              
                                                         
                                               
#!/bin/bash

set -eu

rm -rf ./dist

npm run tsc -- -b --verbose
npm run resolve-tspaths:server

cp -r "./server/static" "./server/assets" "./dist/server"
cp -r "./server/lib/emails" "./dist/server/lib"