blob: ff1c69a3b0bcfa8f2896d8b1350f6ea9de71fd0e (
plain)
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
|
#!/bin/bash
set -eu
fetch () {
git clean -fdx
git fetch
# reset to updated upstream branch, but only if we're tracking a branch
branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD)
git reset --hard "$branch"
}
# 1 merchant
cd $HOME/merchant
fetch
./bootstrap
./configure --enable-only-doc
make
doxygen
# 2 exchange
cd $HOME/exchange
fetch
./bootstrap
./configure --enable-only-doc
make pdf
make html
doxygen
# 3 frontends tutorials
cd $HOME/merchant-frontend-examples
fetch
make
# 4 api
cd $HOME/api
fetch
make html
# 5 onboarding
cd $HOME/deployment
fetch
cd doc/
texi2pdf onboarding.texi
texi2html onboarding.texi
|