chore: update building script path.
This commit is contained in:
parent
6cbc1a5b47
commit
1088426811
2 changed files with 8 additions and 14 deletions
|
|
@ -23,7 +23,7 @@ bash:
|
||||||
image: koalaman/shellcheck-alpine
|
image: koalaman/shellcheck-alpine
|
||||||
script:
|
script:
|
||||||
- shellcheck --shell=bash
|
- shellcheck --shell=bash
|
||||||
PKGBUILD configure
|
PKGBUILD configure dists/build.sh
|
||||||
debian/apparmor.d.postinst debian/apparmor.d.postrm
|
debian/apparmor.d.postinst debian/apparmor.d.postrm
|
||||||
|
|
||||||
golangci-lint:
|
golangci-lint:
|
||||||
|
|
@ -32,12 +32,6 @@ golangci-lint:
|
||||||
script:
|
script:
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
|
|
||||||
hadolint:
|
|
||||||
stage: lint
|
|
||||||
image: hadolint/hadolint:latest-alpine
|
|
||||||
script:
|
|
||||||
- hadolint dists/build/*/Dockerfile
|
|
||||||
|
|
||||||
sast:
|
sast:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
|
||||||
|
|
|
||||||
14
Makefile
14
Makefile
|
|
@ -36,7 +36,7 @@ install:
|
||||||
|
|
||||||
auto:
|
auto:
|
||||||
@[ ${DISTRIBUTION} = Arch ] || exit 0; \
|
@[ ${DISTRIBUTION} = Arch ] || exit 0; \
|
||||||
makepkg --syncdeps --install --cleanbuild --force
|
makepkg --syncdeps --install --cleanbuild --force --noconfirm
|
||||||
@[ ${DISTRIBUTION} = Ubuntu ] || exit 0; \
|
@[ ${DISTRIBUTION} = Ubuntu ] || exit 0; \
|
||||||
dch --newversion="${VERSION}" --urgency=medium --distribution=stable --controlmaint "Release ${VERSION}"; \
|
dch --newversion="${VERSION}" --urgency=medium --distribution=stable --controlmaint "Release ${VERSION}"; \
|
||||||
dpkg-buildpackage -b -d --no-sign; \
|
dpkg-buildpackage -b -d --no-sign; \
|
||||||
|
|
@ -71,23 +71,23 @@ $(P):
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
@shellcheck --shell=bash \
|
@shellcheck --shell=bash \
|
||||||
PKGBUILD configure pick dists/build/build.sh \
|
PKGBUILD configure dists/build.sh \
|
||||||
debian/${PKGNAME}.postinst debian/${PKGNAME}.postrm
|
debian/${PKGNAME}.postinst debian/${PKGNAME}.postrm
|
||||||
|
|
||||||
archlinux:
|
archlinux:
|
||||||
@bash dists/build/build.sh archlinux
|
@bash dists/build.sh archlinux
|
||||||
|
|
||||||
debian:
|
debian:
|
||||||
@bash dists/build/build.sh debian
|
@bash dists/build.sh debian
|
||||||
|
|
||||||
ubuntu:
|
ubuntu:
|
||||||
@bash dists/build/build.sh ubuntu
|
@bash dists/build.sh ubuntu
|
||||||
|
|
||||||
whonix:
|
whonix:
|
||||||
@bash dists/build/build.sh whonix
|
@bash dists/build.sh whonix
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf \
|
@rm -rf \
|
||||||
debian/.debhelper debian/debhelper* debian/*.debhelper debian/${PKGNAME} \
|
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}
|
${PKGNAME}_*.* ${BUILD}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue