feat(build): simplify some internal tooling.
This commit is contained in:
parent
791459e39a
commit
1915fa5175
14 changed files with 140 additions and 121 deletions
|
|
@ -11,16 +11,12 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/arduino/go-paths-helper"
|
||||
"golang.org/x/exp/slices"
|
||||
)
|
||||
|
||||
var (
|
||||
regVariablesDef = regexp.MustCompile(`@{(.*)}\s*[+=]+\s*(.*)`)
|
||||
regVariablesRef = regexp.MustCompile(`@{([^{}]+)}`)
|
||||
|
||||
// Default Apparmor magic directory: /etc/apparmor.d/.
|
||||
MagicRoot = paths.New("/etc/apparmor.d")
|
||||
)
|
||||
|
||||
type Variable struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue