]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
add lintian
authorBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 13:14:26 +0000 (15:14 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 13:14:26 +0000 (15:14 +0200)
builder/Containerfile.template
builder/run

index 5bd7336aa1e4c714d274e5443060ed837e66230c..6a5bcdd626c8de20fa843e6aaf52ccf11d43b086 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 8727e63cd6a9f962087a5cc963f2e60360ea894f..fad3fc6cff2d83471a0b055e7e246225344f9d54 100644 (file)
@@ -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 $?
 }