-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sh
executable file
·65 lines (54 loc) · 1.09 KB
/
build.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
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
# git submodule update --recursive --remote
git submodule init
git submodule update
if [ ! -d venv ]; then
python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
else
source venv/bin/activate
fi
cd IATI-Standard-SSOT-version-2.03
git submodule init
git submodule update
rm -rf IATI-Extra-Documentation/en/_build
./gen.sh
cd ..
cd IATI-Standard-SSOT-version-2.02
git submodule init
git submodule update
rm -rf IATI-Extra-Documentation/en/_build
./gen.sh
cd ..
cd IATI-Standard-SSOT-version-2.01
git submodule init
git submodule update
rm -rf IATI-Extra-Documentation/en/_build
./gen.sh
cd ..
cd IATI-Standard-SSOT-version-1.05
git submodule init
git submodule update
rm -rf IATI-Extra-Documentation/en/_build
./gen.sh
cd ..
cd IATI-Standard-SSOT-version-1.04
git submodule init
git submodule update
rm -rf IATI-Extra-Documentation/en/_build
./gen.sh
cd ..
cd IATI-Guidance/en
rm -rf _build
make dirhtml
cd ../..
cd IATI-Upgrades/en
rm -rf _build
make dirhtml
cd ../..
cd IATI-Developer-Documentation
rm -rf _build
make dirhtml
cd ..
python3 extract_html.py