mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-05 13:27:36 +01:00
chore: update scripts
This commit is contained in:
parent
e75bcaa7f1
commit
945213b5a8
@ -4,29 +4,9 @@ set -ev
|
|||||||
|
|
||||||
# Crowin_Latest_Build="https://crowdin.com/backend/download/project/<TBD>.zip"
|
# Crowin_Latest_Build="https://crowdin.com/backend/download/project/<TBD>.zip"
|
||||||
|
|
||||||
if [[ -d input ]]; then
|
|
||||||
rm -rf input
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -d output ]]; then
|
if [[ -d output ]]; then
|
||||||
rm -rf output
|
rm -rf output
|
||||||
fi
|
fi
|
||||||
mkdir output
|
mkdir output
|
||||||
|
|
||||||
|
|
||||||
# FIXME: temporary use local json for i18n
|
|
||||||
# replace by the Crowdin remote template later
|
|
||||||
|
|
||||||
mkdir -p input/en_US
|
|
||||||
cp ../app.json ./input/en_US
|
|
||||||
cp ../ios-infoPlist.json ./input/en_US
|
|
||||||
|
|
||||||
mkdir -p input/ar_SA
|
|
||||||
cp ../app.json ./input/ar_SA
|
|
||||||
cp ../ios-infoPlist.json ./input/ar_SA
|
|
||||||
|
|
||||||
# curl -o <TBD>.zip -L ${Crowin_Latest_Build}
|
|
||||||
# unzip -o -q <TBD>.zip -d input
|
|
||||||
# rm -rf <TBD>.zip
|
|
||||||
|
|
||||||
swift run
|
swift run
|
||||||
|
@ -23,4 +23,3 @@ fi
|
|||||||
|
|
||||||
#task4 clean temp file
|
#task4 clean temp file
|
||||||
rm -rf ${SRCROOT}/Localization/StringsConvertor/output
|
rm -rf ${SRCROOT}/Localization/StringsConvertor/output
|
||||||
rm -rf ${SRCROOT}/Localization/StringsConvertor/input
|
|
||||||
|
Loading…
Reference in New Issue
Block a user