| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. -eu |
| 2 | |
| 3 | clear_tempscip-shell shell shell-project 0.0.0 clear_temp().() { |
| 4 | rmscip-shell system . . rm. -f UnicodeData.txt |
| 5 | } |
| 6 | |
| 7 | # Setup |
| 8 | clear_tempscip-shell shell shell-project 0.0.0 clear_temp(). |
| 9 | export MW_INSTALL_PATH="$(cd "$(dirnamescip-shell system . . dirname. "${BASH_SOURCE[0]}")"/../.. && pwdscip-shell system . . pwd.)" |
| 10 | |
| 11 | wget https://unicode.org/Public/6.0.0/ucd/UnicodeData.txt |
| 12 | php "$MW_INSTALL_PATH/maintenance/language/generateNormalizerDataAr.php" --unicode-data-file UnicodeData.txt |
| 13 | |
| 14 | php "$MW_INSTALL_PATH/maintenance/language/generateNormalizerDataMl.php" |
| 15 | |
| 16 | # Teardown |
| 17 | clear_tempscip-shell shell shell-project 0.0.0 clear_temp(). |