diff options
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client.sh | 2 | ||||
-rwxr-xr-x | scripts/build/server.sh | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index e891b217c..bae91a2b6 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -35,6 +35,8 @@ languages=( | |||
35 | ["de"]="de-DE" | 35 | ["de"]="de-DE" |
36 | ["it"]="it-IT" | 36 | ["it"]="it-IT" |
37 | ["sq"]="sq" | 37 | ["sq"]="sq" |
38 | ["nn"]="nn" | ||
39 | ["nb"]="nb-NO" | ||
38 | ["kab"]="kab" | 40 | ["kab"]="kab" |
39 | ) | 41 | ) |
40 | 42 | ||
diff --git a/scripts/build/server.sh b/scripts/build/server.sh index b903f8250..a2dfc3dd9 100755 --- a/scripts/build/server.sh +++ b/scripts/build/server.sh | |||
@@ -4,7 +4,8 @@ set -eu | |||
4 | 4 | ||
5 | rm -rf ./dist | 5 | rm -rf ./dist |
6 | 6 | ||
7 | npm run tsc | 7 | npm run tsc -- -b --verbose |
8 | cp "./tsconfig.json" "./dist" | 8 | npm run resolve-tspaths:server |
9 | |||
9 | cp -r "./server/static" "./server/assets" "./dist/server" | 10 | cp -r "./server/static" "./server/assets" "./dist/server" |
10 | cp -r "./server/lib/emails" "./dist/server/lib" | 11 | cp -r "./server/lib/emails" "./dist/server/lib" |