diff options
| author | Jeff Carr <[email protected]> | 2025-10-13 06:22:45 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-13 06:22:45 -0500 |
| commit | e10076440f7824cef366369bcd3088adfe2090fc (patch) | |
| tree | 9cf587423919ac25d65399b41f668bde09aec641 | |
| parent | 993e71a257083caa30f46c909e32f3da5cc39117 (diff) | |
only even test install on changed stuff
| -rw-r--r-- | doBuild.debian.go | 12 |
1 files changed, 12 insertions, 0 deletions
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) } |
