aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-26 08:52:43 +0100
committerChocobozzz <me@florianbigard.com>2020-11-26 11:30:18 +0100
commitae48a71d57516b7ae2c4f3f63d237a4c972f0ded (patch)
treeca7271fb4aa69dafaed0163317282418e4542b8b /scripts/build
parent3520d38515f5e83320ef4e54cb837b3b91fedf90 (diff)
downloadPeerTube-ae48a71d57516b7ae2c4f3f63d237a4c972f0ded.tar.gz
PeerTube-ae48a71d57516b7ae2c4f3f63d237a4c972f0ded.tar.zst
PeerTube-ae48a71d57516b7ae2c4f3f63d237a4c972f0ded.zip
Remove unused i18n build
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 9cd8d8cce..3bca9105a 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -41,7 +41,7 @@ cd client
41rm -rf ./dist ./compiled 41rm -rf ./dist ./compiled
42 42
43# Don't build other languages if --light arg is provided 43# Don't build other languages if --light arg is provided
44if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ] && [ "$1" != "--i18n" ]); then 44if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); then
45 npm run ng build -- --prod --output-path "dist/build" 45 npm run ng build -- --prod --output-path "dist/build"
46 46
47 for key in "${!languages[@]}"; do 47 for key in "${!languages[@]}"; do
@@ -66,11 +66,6 @@ else
66 export ANALYZE_BUNDLE=true 66 export ANALYZE_BUNDLE=true
67 fi 67 fi
68 68
69 if [ ! -z ${1+x} ] && [ "$1" == "--i18n" ]; then
70 additionalParams="--configuration=i18n"
71 export ANALYZE_BUNDLE=true
72 fi
73
74 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams 69 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams
75fi 70fi
76 71