]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add lintian
authorBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 09:56:26 +0000 (11:56 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 09:56:26 +0000 (11:56 +0200)
builder/Containerfile.template
builder/run

index 4d1130965cdb64997581f8c8ead11643d61ea194..d1ad6ce4ca1067654e00a990db879b436b6e4f01 100644 (file)
@@ -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 \
index 6592409ea2a8f61911f5b38bf7eeba3e9a0f9c26..ef42f254afd1d74ba2222921fd6b25a59d69ca3e 100644 (file)
@@ -9,6 +9,7 @@ get_source_date()
 create_package_checksum()
 {
        local package=$(find . -maxdepth 1 -name '*.deb' )
+       lintian --fail-on error,warning,pedantic $package || return $?
        sha256sum *.deb > $package.sha256 || return $?
        cat $package.sha256 || return $?
 }