summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doBuild.debian.go12
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)
}