13 lines
302 B
Bash
Executable File
13 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
rm -rf ./dist ./packages/*/dist
|
|
|
|
npm run tsc -- -b --verbose server/tsconfig.json
|
|
npm run resolve-tspaths:server
|
|
|
|
cp -r "./server/core/static" "./server/core/assets" ./dist/core
|
|
cp -r "./server/core/lib/emails" "./dist/core/lib"
|
|
cp "./server/scripts/upgrade.sh" "./dist/scripts"
|