Needs https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2679 Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3665 Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2566 Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3274 Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2591 Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6979>
12 lines
267 B
Bash
Executable file
12 lines
267 B
Bash
Executable file
#!/bin/sh -e
|
|
# Description: run apkbuild-lint on modified APKBUILDs
|
|
# Options: with-dot-git
|
|
# https://postmarketos.org/pmb-ci
|
|
|
|
if [ "$(id -u)" = 0 ]; then
|
|
set -x
|
|
apk add atools git python3
|
|
exec su "${TESTUSER:-build}" -c "sh -e $0"
|
|
fi
|
|
|
|
.ci/lib/apkbuild_linting.py
|