forked from angular-translate/angular-translate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
generate_site.sh
executable file
·53 lines (42 loc) · 979 Bytes
/
generate_site.sh
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash -e
mkdir -p site/docs/en site/docs/ru site/docs/de site/docs/uk site/docs/zh-cn site/docs/zh-tw site/docs/fr
grunt ngdocs $@
grunt copy:logos
grunt copy:docs_assets
mv tmp/* site/docs/en/
rm -rf tmp
grunt ngdocs --lang=ru $@
grunt copy:logos
grunt copy:docs_assets
mv tmp/* site/docs/ru
rm -rf tmp
grunt ngdocs --lang=de $@
grunt copy:logos
grunt copy:docs_assets
mv tmp/* site/docs/de
rm -rf tmp
grunt ngdocs --lang=uk $@
grunt copy:logos
grunt copy:docs_assets
mv tmp/* site/docs/uk
rm -rf tmp
grunt ngdocs --lang=zh-cn $@
grunt copy:logos
grunt copy:docs_assets
mv tmp/* site/docs/zh-cn
rm -rf tmp
grunt ngdocs --lang=zh-tw $@
grunt copy:logos
grunt copy:docs_assets
mv tmp/* site/docs/zh-tw
rm -rf tmp
grunt ngdocs --lang=fr $@
grunt copy:logos
grunt copy:docs_assets
mv tmp/* site/docs/fr
rm -rf tmp
cp docs/html/index.html site
cp identity/favicon.ico site
npm install [email protected]
node_modules/.bin/plato -d plato src/*.js src/**/*.js
mv plato site