]> Sergey Matveev's repositories - public-inbox.git/blob - ci/run.sh
examples/varnish-4: http => httpd
[public-inbox.git] / ci / run.sh
1 #!/bin/sh
2 # Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
3 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
4 set -e
5 SUDO=${SUDO-'sudo'} PERL=${PERL-'perl'} MAKE=${MAKE-'make'}
6 DO=${DO-''}
7
8 set -x
9 if test -f Makefile
10 then
11         $DO $MAKE clean
12 fi
13
14 ./ci/profiles.sh | while read args
15 do
16         $DO $SUDO $PERL -w ci/deps.perl $args
17         $DO $PERL Makefile.PL
18         $DO $MAKE
19         $DO $MAKE check
20         $DO $MAKE clean
21 done