diff options
| author | Jeff Carr <[email protected]> | 2024-11-16 00:05:07 -0600 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-16 00:05:07 -0600 | 
| commit | 350d5e58601320d44c779412a6a3018660f28d34 (patch) | |
| tree | 363aa0a700e39a0524100fbf52a51f67e999ef59 | |
| parent | ff564380a71b607821de4eca4afa0865f3c7e51c (diff) | |
fix makefilev0.22.10
| -rw-r--r-- | Makefile | 14 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | argv.go | 2 | ||||
| -rw-r--r-- | main.go | 6 | 
4 files changed, 12 insertions, 12 deletions
@@ -10,8 +10,8 @@ vet:  	@GO111MODULE=off go vet  	@echo this go library package builds okay -no-gui: build -	./go-deb --no-gui --repo go.wit.com/apps/autotypist +auto-build: build +	./go-deb --auto --repo go.wit.com/apps/autotypist  build:  	-rm resources/*.so @@ -47,16 +47,16 @@ clean:  	-rm go-deb  build-go-gui-toolkits: build -	./go-deb --release --no-gui --repo go.wit.com/apps/go-gui-toolkits +	./go-deb --release --auto --repo go.wit.com/apps/go-gui-toolkits  build-test-failure: build -	./go-deb --release --no-gui --repo go.wit.com/apps/junk +	./go-deb --release --auto --repo go.wit.com/apps/junk  build-test-keep-files: build -	./go-deb --no-gui --keep-files --repo go.wit.com/apps/go-deb +	./go-deb --auto --keep-files --repo go.wit.com/apps/go-deb  build-release: -	go-deb --release --no-gui --repo go.wit.com/apps/go-deb +	go-deb --release --auto --repo go.wit.com/apps/go-deb  debian: build -	./go-deb --no-gui --keep-files --repo go.wit.com/apps/go-deb +	./go-deb --auto --keep-files --repo go.wit.com/apps/go-deb @@ -4,7 +4,7 @@ Makes a debian package from a go git repository  Usage (puts .deb in ~/incoming/) : -* go-deb --no-gui --repo go.wit.com/apps/go-clone +* go-deb --auto --repo go.wit.com/apps/go-clone  Notes @@ -15,7 +15,7 @@ import (  var argv args  type args struct { -	NoGui     bool     `arg:"--no-gui"         help:"don't open the gui, just make the .deb"` +	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"`  	PkgDir    string   `arg:"--pkg-dir"        help:"set default directory (~/incoming/)"` @@ -35,10 +35,10 @@ func main() {  		os.Exit(0)  	}  	myGui = gui.New() -	if !argv.NoGui { +	if !argv.Auto  {  		myGui.InitEmbed(resources) -		myGui.Default()  	} +	myGui.Default()  	basicWindow = makebasicWindow() @@ -72,7 +72,7 @@ func main() {  	log.Info("cd", cBox.status.Path())  	os.Chdir(cBox.status.Path()) -	if argv.NoGui { +	if argv.Auto  {  		shell.TestTerminalColor()  		// basicWindow.Show() // broken gui package. convert to protobuf  		if ok, err := cBox.buildPackage(); ok {  | 
