aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/client.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 99394838a..aa3f89c03 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -76,10 +76,11 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
76 # TODO: remove when the project will use runtime translations 76 # TODO: remove when the project will use runtime translations
77 pre_build_hook "$lang" 77 pre_build_hook "$lang"
78 78
79 npm run ng build -- --output-path "dist/build" --deploy-url "/client/$lang/" --prod --configuration="$lang" 79 npm run ng build -- --prod --configuration="$lang"
80 80
81 mv "dist/build/$key" "dist/$lang" 81 if [ ! "$lang" = "$key" ]; then
82 rmdir "dist/build" 82 mv "dist/$key" "dist/$lang"
83 fi
83 84
84 # Do not duplicate assets 85 # Do not duplicate assets
85 rm -r "./dist/$lang/assets" 86 rm -r "./dist/$lang/assets"