chore: update building script path.

This commit is contained in:
Alexandre Pujol 2023-03-29 00:19:44 +01:00
parent 6cbc1a5b47
commit 1088426811
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 8 additions and 14 deletions

View File

@ -23,7 +23,7 @@ bash:
image: koalaman/shellcheck-alpine
script:
- shellcheck --shell=bash
PKGBUILD configure
PKGBUILD configure dists/build.sh
debian/apparmor.d.postinst debian/apparmor.d.postrm
golangci-lint:
@ -32,12 +32,6 @@ golangci-lint:
script:
- golangci-lint run
hadolint:
stage: lint
image: hadolint/hadolint:latest-alpine
script:
- hadolint dists/build/*/Dockerfile
sast:
stage: lint

View File

@ -36,7 +36,7 @@ install:
auto:
@[ ${DISTRIBUTION} = Arch ] || exit 0; \
makepkg --syncdeps --install --cleanbuild --force
makepkg --syncdeps --install --cleanbuild --force --noconfirm
@[ ${DISTRIBUTION} = Ubuntu ] || exit 0; \
dch --newversion="${VERSION}" --urgency=medium --distribution=stable --controlmaint "Release ${VERSION}"; \
dpkg-buildpackage -b -d --no-sign; \
@ -71,23 +71,23 @@ $(P):
lint:
@shellcheck --shell=bash \
PKGBUILD configure pick dists/build/build.sh \
PKGBUILD configure dists/build.sh \
debian/${PKGNAME}.postinst debian/${PKGNAME}.postrm
archlinux:
@bash dists/build/build.sh archlinux
@bash dists/build.sh archlinux
debian:
@bash dists/build/build.sh debian
@bash dists/build.sh debian
ubuntu:
@bash dists/build/build.sh ubuntu
@bash dists/build.sh ubuntu
whonix:
@bash dists/build/build.sh whonix
@bash dists/build.sh whonix
clean:
@rm -rf \
debian/.debhelper debian/debhelper* debian/*.debhelper debian/${PKGNAME} \
${PKGNAME}-*.pkg.tar.zst.sig ${PKGNAME}-*.pkg.tar.zst \
${PKGNAME}-*.pkg.tar.zst.sig ${PKGNAME}-*.pkg.tar.zst coverage.out \
${PKGNAME}_*.* ${BUILD}