server.sh 251 B

1234567891011
  1. #!/bin/bash
  2. set -eu
  3. rm -rf ./dist ./packages/*/dist
  4. npm run tsc -- -b --verbose server/tsconfig.json
  5. npm run resolve-tspaths:server
  6. cp -r "./server/core/static" "./server/core/assets" ./dist/core
  7. cp "./server/scripts/upgrade.sh" "./dist/scripts"