Add ability to ignore packages
This commit is contained in:
parent
e2e2629dc9
commit
4f9d2cdecd
3
main.go
3
main.go
@ -340,6 +340,9 @@ func resolveCommand() {
|
||||
|
||||
// Search for packages
|
||||
for _, pkg := range pkgs {
|
||||
if slices.Contains(utils.BPMConfig.IgnorePackages, pkg) {
|
||||
continue
|
||||
}
|
||||
entry, _, err := utils.GetRepositoryEntry(pkg)
|
||||
if err != nil {
|
||||
continue
|
||||
|
@ -11,6 +11,7 @@ type BPMConfigStruct struct {
|
||||
SilentCompilation bool `yaml:"silent_compilation"`
|
||||
BinaryOutputDir string `yaml:"binary_output_dir"`
|
||||
CompilationDir string `yaml:"compilation_dir"`
|
||||
IgnorePackages []string `yaml:"ignore_packages"`
|
||||
Repositories []*Repository `yaml:"repositories"`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user