summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-11-27 11:50:14 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-11-27 11:50:14 +0100
commitdd1e5411f7f9b2a498989edc15e853b2308e6faf (patch)
treee4523e3adb9d416cbde1e7332d2dd7f61246db6f
parenta42d551fe5480f05eeb95ba76fd9ce9c681bcbac (diff)
downloaddeployment-dd1e5411f7f9b2a498989edc15e853b2308e6faf.tar.gz
deployment-dd1e5411f7f9b2a498989edc15e853b2308e6faf.tar.bz2
deployment-dd1e5411f7f9b2a498989edc15e853b2308e6faf.zip
adding '--lint' option to invalidate.sh
-rw-r--r--buildbot/master.cfg2
-rwxr-xr-xtaler-build/invalidate.sh7
2 files changed, 7 insertions, 2 deletions
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index edc44d3..adac28a 100644
--- 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
index 3ea43f1..46a36b5 100755
--- 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