/
generate
executable file
·39 lines (26 loc) · 1.12 KB
/
generate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
echo 'Generating default (English) page...'
php -d short_open_tag=On src/index.php en > index.html
echo 'Generating Chinese page...'
php -d short_open_tag=On src/index.php zh > zh/index.html
echo 'Generating Korian page...'
php -d short_open_tag=On src/index.php ko > ko/index.html
echo 'Generating Russian page...'
php -d short_open_tag=On src/index.php ru > ru/index.html
echo 'Generating Japanese page...'
php -d short_open_tag=On src/index.php jp > jp/index.html
echo 'Generating Spanish page...'
php -d short_open_tag=On src/index.php es > es/index.html
echo 'Generating Italian page...'
php -d short_open_tag=On src/index.php it > it/index.html
echo 'Generating Portugal page...'
php -d short_open_tag=On src/index.php pt > pt/index.html
echo 'Generating Hindi page...'
php -d short_open_tag=On src/index.php hi > hi/index.html
echo 'Generating Filipino page...'
php -d short_open_tag=On src/index.php ph > ph/index.html
echo 'Generating Nederlands page...'
php -d short_open_tag=On src/index.php nl > nl/index.html
echo 'Generating Arabic page...'
php -d short_open_tag=On src/index.php ar > ar/index.html
echo 'Done.'