From e10076440f7824cef366369bcd3088adfe2090fc Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 13 Oct 2025 06:22:45 -0500 Subject: only even test install on changed stuff --- doBuild.debian.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doBuild.debian.go b/doBuild.debian.go index ab07052..bf785ae 100644 --- a/doBuild.debian.go +++ b/doBuild.debian.go @@ -42,9 +42,21 @@ func doBuildDeb() (string, error) { } if !check.IsBinary() { + // can't build packages that aren't GO binaries continue } + if argv.All { + // don't check if you need to build, just build everything + } else { + if shouldBuild(check) == "yes" { + // need to build + } else { + log.Info(check.FullPath, "not building for reasons: todo: get reason") + continue + } + } + found.Append(check) } -- cgit v1.2.3