mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
chore: update building script path.
This commit is contained in:
parent
6cbc1a5b47
commit
1088426811
@ -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
|
||||
|
||||
|
14
Makefile
14
Makefile
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user