From d51f5b385ab89fd9b898d8feec470289b5db6802 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Jan 2025 07:29:44 -0600 Subject: attempt to fix when not using forge --- argv.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'argv.go') diff --git a/argv.go b/argv.go index 1ceb6cc..42f53af 100644 --- a/argv.go +++ b/argv.go @@ -8,8 +8,6 @@ package main import ( "go.wit.com/dev/alexflint/arg" - "go.wit.com/lib/debugger" - "go.wit.com/log" ) var argv args @@ -17,7 +15,7 @@ var argv args type args struct { Auto bool `arg:"--auto" help:"automatically attempt to make the .deb"` Ldflags []string `arg:"--ldflags" help:"flags to pass to go build"` - Repo string `arg:"--repo" help:"go get path to the repo"` + Forge string `arg:"--forge" help:"use a git repo from forge"` OutDir string `arg:"--dir" help:"write .deb file into this directory"` Release bool `arg:"--release" help:"build a release from the last git tag"` KeepFiles bool `arg:"--keep-files" help:"keep the build files/"` @@ -27,11 +25,13 @@ type args struct { func init() { arg.MustParse(&argv) - if debugger.ArgDebug() { - log.Info("cmd line --debugger == true") - } else { - log.Info("cmd line --debugger == false") - } + /* + if debugger.ArgDebug() { + log.Info("cmd line --debugger == true") + } else { + log.Info("cmd line --debugger == false") + } + */ } func (args) Version() string { -- cgit v1.2.3