taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit dd1e5411f7f9b2a498989edc15e853b2308e6faf
parent a42d551fe5480f05eeb95ba76fd9ce9c681bcbac
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon, 27 Nov 2017 11:50:14 +0100

adding '--lint' option to invalidate.sh

Diffstat:
Mbuildbot/master.cfg | 2+-
Mtaler-build/invalidate.sh | 7++++++-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -167,7 +167,7 @@ LINT_FACTORY.addStep(ShellCommand( name="invalidation", description="checking changes", descriptionDone="changes checked", - command=["./invalidate.sh"], + command=["./invalidate.sh", "--lint"], workdir="build/taler-build")) LINT_FACTORY.addStep(ShellCommand( name="linting", diff --git a/taler-build/invalidate.sh b/taler-build/invalidate.sh @@ -1,8 +1,13 @@ #!/bin/bash set -eu +components="deployment exchange merchant bank gnurl donations blog landing gnunet libmicrohttpd survey" -for component in deployment exchange merchant bank gnurl donations blog landing gnunet libmicrohttpd survey ; do +if test ${1:-notgiven} = "--lint"; then +components="bank donations survey blog" +fi + +for component in $components ; do cd $HOME/$component git fetch if git status -sb | grep behind; then