aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/server.sh
blob: d66a524757399146e621d63db64699a07001f219 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -eu

rm -rf ./dist

npm run tsc
cp "./tsconfig.json" "./dist"
cp -r "./server/static" "./server/assets" "./dist/server"