chore(build): cleanup the justfile.
This commit is contained in:
parent
d5e70ca994
commit
4bd415d260
1 changed files with 18 additions and 19 deletions
15
Justfile
15
Justfile
|
|
@ -17,6 +17,12 @@
|
|||
# just available
|
||||
# just clean
|
||||
|
||||
# Build setings
|
||||
destdir := "/"
|
||||
build := ".build"
|
||||
pkgdest := `pwd` / ".pkg/dist"
|
||||
pkgname := "apparmor.d"
|
||||
|
||||
# Admin username
|
||||
username := "user"
|
||||
|
||||
|
|
@ -55,14 +61,8 @@ c := "--connect=qemu:///system"
|
|||
# VM prefix
|
||||
prefix := "aa-"
|
||||
|
||||
# Build setings
|
||||
destdir := "/"
|
||||
build := ".build"
|
||||
pkgdest := `pwd` / ".pkg/dist"
|
||||
pkgname := "apparmor.d"
|
||||
|
||||
[doc('Show this help message')]
|
||||
default:
|
||||
help:
|
||||
@echo -e "Integration environment helper for apparmor.d\n"
|
||||
@just --list --unsorted
|
||||
@echo -e "\nSee https://apparmor.pujol.io/development/vm/ for more information."
|
||||
|
|
@ -89,7 +89,6 @@ install:
|
|||
#!/usr/bin/env bash
|
||||
set -eu -o pipefail
|
||||
install -Dm0755 {{build}}/aa-log {{destdir}}/usr/bin/aa-log
|
||||
install -Dm0644 systemd/aa-fix.service {{destdir}}/usr/lib/systemd/system/aa-fix.service
|
||||
for file in $(find "{{build}}/share" -type f -not -name "*.md" -printf "%P\n"); do
|
||||
install -Dm0644 "{{build}}/share/$file" "{{destdir}}/usr/share/$file"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue