From ebb1d3d3c8409b9f4ef7904c0f94eff0e1dae072 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 1 Sep 2021 13:05:30 -0500 Subject: [PATCH] BUILD: add more commands to automatically build Signed-off-by: Jeff Carr --- Makefile | 8 +++++--- {example-gocui => example-gocui-active}/active.go | 0 {example-gocui => example-gocui-colorstrue}/colorstrue.go | 0 {example-gocui => example-gocui-dynamic}/dynamic.go | 0 {example-gocui => example-gocui-mouse}/mouse.go | 0 5 files changed, 5 insertions(+), 3 deletions(-) rename {example-gocui => example-gocui-active}/active.go (100%) rename {example-gocui => example-gocui-colorstrue}/colorstrue.go (100%) rename {example-gocui => example-gocui-dynamic}/dynamic.go (100%) rename {example-gocui => example-gocui-mouse}/mouse.go (100%) diff --git a/Makefile b/Makefile index d3caf70..cafd1fd 100644 --- a/Makefile +++ b/Makefile @@ -3,17 +3,19 @@ GOVERSION = $(shell go version | cut -d' ' -f 3) BUILDTIME = $(shell date -u --iso-8601=seconds) VERSION = $(shell cat resources/VERSION) -GO111MODULE=on +# GO111MODULE=on # try go get github.com/ahmetb/govvv # this will add branch info & build RFC3339 date also -run: - build: # shell things cd example-expect; go install # traditional 'expect' shell automation cd example-shell; go install # a tty wrapper + cd example-gocui-mouse; go install # mouse interaction + cd example-gocui-active; go install # ytalk + cd example-gocui-colorstrue; go install # shell colors + cd example-gocui-dynamic; go install # interactive movement # GUI things cd example-splash; go install # an example GUI with drop down menus, etc diff --git a/example-gocui/active.go b/example-gocui-active/active.go similarity index 100% rename from example-gocui/active.go rename to example-gocui-active/active.go diff --git a/example-gocui/colorstrue.go b/example-gocui-colorstrue/colorstrue.go similarity index 100% rename from example-gocui/colorstrue.go rename to example-gocui-colorstrue/colorstrue.go diff --git a/example-gocui/dynamic.go b/example-gocui-dynamic/dynamic.go similarity index 100% rename from example-gocui/dynamic.go rename to example-gocui-dynamic/dynamic.go diff --git a/example-gocui/mouse.go b/example-gocui-mouse/mouse.go similarity index 100% rename from example-gocui/mouse.go rename to example-gocui-mouse/mouse.go