Compare commits
2 Commits
c3981ad95c
...
4f9d2cdecd
Author | SHA1 | Date | |
---|---|---|---|
4f9d2cdecd | |||
e2e2629dc9 |
2
Makefile
2
Makefile
@ -1,3 +1,5 @@
|
|||||||
|
SHELL = /bin/bash
|
||||||
|
|
||||||
ifeq ($(PREFIX),)
|
ifeq ($(PREFIX),)
|
||||||
PREFIX := /usr/local
|
PREFIX := /usr/local
|
||||||
endif
|
endif
|
||||||
|
3
main.go
3
main.go
@ -340,6 +340,9 @@ func resolveCommand() {
|
|||||||
|
|
||||||
// Search for packages
|
// Search for packages
|
||||||
for _, pkg := range pkgs {
|
for _, pkg := range pkgs {
|
||||||
|
if slices.Contains(utils.BPMConfig.IgnorePackages, pkg) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
entry, _, err := utils.GetRepositoryEntry(pkg)
|
entry, _, err := utils.GetRepositoryEntry(pkg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
continue
|
continue
|
||||||
|
@ -11,6 +11,7 @@ type BPMConfigStruct struct {
|
|||||||
SilentCompilation bool `yaml:"silent_compilation"`
|
SilentCompilation bool `yaml:"silent_compilation"`
|
||||||
BinaryOutputDir string `yaml:"binary_output_dir"`
|
BinaryOutputDir string `yaml:"binary_output_dir"`
|
||||||
CompilationDir string `yaml:"compilation_dir"`
|
CompilationDir string `yaml:"compilation_dir"`
|
||||||
|
IgnorePackages []string `yaml:"ignore_packages"`
|
||||||
Repositories []*Repository `yaml:"repositories"`
|
Repositories []*Repository `yaml:"repositories"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user