build: improve build output.

This commit is contained in:
Alexandre Pujol 2023-12-15 19:14:32 +00:00
parent d2fc3c3325
commit 6fa2c8ec3a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 106 additions and 57 deletions

View file

@ -14,9 +14,18 @@ import (
)
// Build the profiles with the following build tasks
var Builds = []BuildFunc{
BuildUserspace,
}
var (
Builds = []BuildFunc{
BuildUserspace,
}
BuildMsg = map[string]string{
"BuildComplain": "Set complain flag on all profiles",
"BuildEnforce": "All profiles have been enforced",
"BuildUserspace": "Bypass userspace tools restriction",
"BuildABI3": "Build all profiles for abi 3.0 compatibility",
"BuildFullSystemPolicy": "Build all profiles for full system policy mode",
}
)
var (
regAttachments = regexp.MustCompile(`(profile .* @{exec_path})`)