summaryrefslogtreecommitdiff
path: root/doBuild.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-28 21:33:20 -0500
committerJeff Carr <[email protected]>2025-10-28 21:33:20 -0500
commit4320bb66a4fdeaab25af5bfcd5badf43b354f317 (patch)
treedd050c1eed782cbc105a94d4911c6a9d0af06684 /doBuild.go
parent61d1215aec93fd8f38c95e43d212556621e66bb4 (diff)
this all needs to be redone
Diffstat (limited to 'doBuild.go')
-rw-r--r--doBuild.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doBuild.go b/doBuild.go
index 6bd70f8..2f8a1bd 100644
--- a/doBuild.go
+++ b/doBuild.go
@@ -24,7 +24,7 @@ func doBuild() (string, error) {
// log.Info("doInstall() failed", err)
argvpb.BadExit("doInstall() failed", err)
}
- if argv.DryRun {
+ if env.True("--dry-run") {
argvpb.GoodExit("Nothing built --dry-run")
}
argvpb.GoodExit("EVERYTHING BUILT!")
@@ -116,7 +116,7 @@ func doBuild() (string, error) {
footer := cobol.SimpleTable(simpletable)
log.Info("simple build table footer:", footer)
- if argv.DryRun {
+ if env.True("--dry-run") {
return "dryrun", nil
}
@@ -150,7 +150,7 @@ func doInstall(all *gitpb.Repos) error {
footer := found.PrintForgedTable()
log.Info("Starting 'go install' on these repos:", footer)
- if argv.DryRun {
+ if env.True("--dry-run") {
return nil
}