Compare commits

...

2 Commits

Author SHA1 Message Date
4f9d2cdecd Add ability to ignore packages 2025-03-13 15:34:43 +02:00
e2e2629dc9 Make bash the default shell in Makefile 2025-03-13 15:34:10 +02:00
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
SHELL = /bin/bash
ifeq ($(PREFIX),) ifeq ($(PREFIX),)
PREFIX := /usr/local PREFIX := /usr/local
endif endif

View File

@ -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

View File

@ -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"`
} }