commit d2977df93d167681444ec33bf3a34e04e38720f7
parent bc538c2333e6498b4c7acb2db7890ac1e728d821
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 26 Apr 2021 21:39:11 +0200
modify docbuilder logic
Diffstat:
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -198,12 +198,16 @@ DOC_FACTORY.addStep(
)
)
DOC_FACTORY.addStep(
- ShellCommand(
- name="gana",
- description="fetch GANA",
- descriptionDone="GANA obtained",
- command=["contrib/gana.sh" ],
- workdir="../../sources/exchange/"
+ steps.ShellSequence(
+ name="prepare exchange",
+ description="Running bootstrap and configure for exchange",
+ descriptionDone="exchange ready for doxygen",
+ commands=[
+ util.ShellArg(command=["./bootstrap"]),
+ util.ShellArg(command=["./configure", "--prefix=$HOME/local/"]),
+ ],
+ workdir="../../sources/exchange/",
+ haltOnFailure=True,
)
)
DOC_FACTORY.addStep(
@@ -221,10 +225,11 @@ DOC_FACTORY.addStep(
description="prepare merchant",
descriptionDone="directory created",
commands=[
- util.ShellArg(command=["mkdir", "-p", "merchant/doc/doxygen/"]),
- util.ShellArg(command=["cp", "exchange/doc/doxygen/taler-exchange.tag", "merchant/doc/doxygen/taler-exchange.tag"]),
+ util.ShellArg(command=["./bootstrap"]),
+ util.ShellArg(command=["./configure", "--prefix=$HOME/local/"]),
+ util.ShellArg(command=["cp", "../exchange/doc/doxygen/taler-exchange.tag", "doc/doxygen/taler-exchange.tag"]),
],
- workdir="../../sources/"
+ workdir="../../sources/merchant/"
)
)
DOC_FACTORY.addStep(