]>
Commit | Line | Data |
---|---|---|
0e4ffb4b LA |
1 | #!/bin/sh |
2 | ||
3 | set -eu | |
66dd264f | 4 | |
e945b184 C |
5 | # Copy locales |
6 | mkdir -p "./client/dist" | |
c0f713ce | 7 | rm -rf "./client/dist/locale" |
e945b184 C |
8 | cp -r "./client/src/locale/target" "./client/dist/locale" |
9 | ||
2db85d6b | 10 | rm -rf "./dist" |
b18d4b9f | 11 | |
02e51e2d C |
12 | mkdir "./dist" |
13 | cp "./tsconfig.json" "./dist" | |
14 | ||
6cca7360 | 15 | NODE_ENV=test npm run concurrently -- -k \ |
02e51e2d | 16 | "npm run tsc -- --sourceMap && cp -r ./server/static ./server/assets ./dist/server && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ |
cc1561f9 | 17 | "npm run tsc -- --sourceMap --preserveWatchOutput -w" |