From: Bastian Dehn Date: Mon, 25 May 2026 09:58:21 +0000 (+0200) Subject: add lintian X-Git-Tag: v1.1.6^2~2^2~12 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=3ddac56c365ed2724fdf86d1d80a3c9cab1acc9b;p=scantopdf.git add lintian --- diff --git a/builder/Containerfile.template b/builder/Containerfile.template index 7680741..b4ccad9 100644 --- a/builder/Containerfile.template +++ b/builder/Containerfile.template @@ -8,6 +8,7 @@ RUN apt-get update \ git \ cppcheck \ lcov \ + lintian \ && apt-get clean \ && rm --recursive --force /var/lib/apt/lists/* RUN apt-get update \ diff --git a/builder/run b/builder/run index 40960d5..079e62a 100644 --- a/builder/run +++ b/builder/run @@ -11,6 +11,7 @@ create_package_checksum() { cd /app/build/build local package=$(find . -maxdepth 1 -name '*.deb') + lintian --fail-on error,warning,pedantic $package || return $? sha256sum *.deb > $package.sha256 || return $? cat $package.sha256 || return $? }