build: fully replace make by just.
This commit is contained in:
parent
4a3a98c77d
commit
7d2229cd05
22 changed files with 113 additions and 182 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 2024-2025 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
# Usage: make check
|
||||
# Usage: just check
|
||||
# shellcheck disable=SC2044
|
||||
|
||||
set -eu -o pipefail
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ packages:
|
|||
|
||||
# Install usefull core packages
|
||||
- bash-completion
|
||||
- just
|
||||
- git
|
||||
- htop
|
||||
- man
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ packages:
|
|||
# Install usefull core packages
|
||||
- bash-completion
|
||||
- git
|
||||
- just
|
||||
- htop
|
||||
- man
|
||||
- pass
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ core-packages: &core-packages
|
|||
- go
|
||||
- golang-packaging
|
||||
- htop
|
||||
- make
|
||||
- just
|
||||
- rpmbuild
|
||||
- rsync
|
||||
- vim
|
||||
|
|
|
|||
|
|
@ -13,15 +13,15 @@ DISTRIBUTION="$(_lsb_release)"
|
|||
cd "$HOME/Projects/apparmor.d"
|
||||
case "$DISTRIBUTION" in
|
||||
arch)
|
||||
make pkg
|
||||
just pkg
|
||||
;;
|
||||
debian | ubuntu | whonix)
|
||||
sudo rm -rf debian/.debhelper/
|
||||
make dpkg
|
||||
just dpkg
|
||||
sudo rm -rf debian/.debhelper/
|
||||
;;
|
||||
opensuse*)
|
||||
make rpm
|
||||
just rpm
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue