mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-09 11:45:14 +01:00
chore(build): minor cosmetic.
This commit is contained in:
parent
effd4ef267
commit
856c425dd5
3 changed files with 4 additions and 4 deletions
|
@ -61,7 +61,7 @@ func init() {
|
||||||
|
|
||||||
func Prebuild() {
|
func Prebuild() {
|
||||||
flag.Usage = func() {
|
flag.Usage = func() {
|
||||||
fmt.Printf("%s%s\n%s\n%s", usage,
|
fmt.Printf("%s\n%s\n%s\n%s", usage,
|
||||||
prebuild.Help("Prepare", prepare.Tasks),
|
prebuild.Help("Prepare", prepare.Tasks),
|
||||||
prebuild.Help("Build", builder.Builders),
|
prebuild.Help("Build", builder.Builders),
|
||||||
directive.Usage(),
|
directive.Usage(),
|
||||||
|
|
|
@ -78,7 +78,7 @@ func Test_Prebuild(t *testing.T) {
|
||||||
chdirGitRoot()
|
chdirGitRoot()
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
t.Run(tt.name, func(t *testing.T) {
|
t.Run(tt.name, func(t *testing.T) {
|
||||||
setTestBuildDirectories(tt.name)
|
setTestBuildDirectories(tt.dist)
|
||||||
prebuild.Distribution = tt.dist
|
prebuild.Distribution = tt.dist
|
||||||
prepare.Prepares = []prepare.Task{}
|
prepare.Prepares = []prepare.Task{}
|
||||||
prepare.Register(
|
prepare.Register(
|
||||||
|
|
|
@ -10,10 +10,10 @@ var (
|
||||||
// AppArmor ABI version
|
// AppArmor ABI version
|
||||||
ABI uint = 0
|
ABI uint = 0
|
||||||
|
|
||||||
// Root is the root directory for the build
|
// Root is the root directory for the build (default: .build)
|
||||||
Root *paths.Path = paths.New(".build")
|
Root *paths.Path = paths.New(".build")
|
||||||
|
|
||||||
// RootApparmord is the final built apparmor.d directory
|
// RootApparmord is the final built apparmor.d directory (default: .build/apparmor.d)
|
||||||
RootApparmord *paths.Path = Root.Join("apparmor.d")
|
RootApparmord *paths.Path = Root.Join("apparmor.d")
|
||||||
|
|
||||||
// DistDir is the directory where the distribution specific files are stored
|
// DistDir is the directory where the distribution specific files are stored
|
||||||
|
|
Loading…
Reference in a new issue