BUILD: more makefile updates
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
9105a180c6
commit
2bcf3f9f55
13
Makefile
13
Makefile
|
@ -10,6 +10,7 @@ VERSION = $(shell cat resources/VERSION)
|
|||
|
||||
build:
|
||||
# shell things
|
||||
cd example-nohup; go install # minimum golang 'cmd'
|
||||
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
|
||||
|
@ -24,9 +25,21 @@ build:
|
|||
cd example-ui-radiobutton; go install # slidebars, lists, radio buttons
|
||||
cd example-ui-table; go install # spreadsheet
|
||||
|
||||
# misc
|
||||
cd example-lookupAAAA; go install # nslookup
|
||||
|
||||
# golang things
|
||||
cd example-pprof; go install # dump out go process internals
|
||||
|
||||
prep:
|
||||
make -C example-nohup prep
|
||||
|
||||
sub-make:
|
||||
# shell things
|
||||
make -C example-expect # traditional 'expect' shell automation
|
||||
make -C example-shell # a tty wrapper
|
||||
make -C example-gocui-mouse # mouse interaction
|
||||
|
||||
debug:
|
||||
go build -ldflags "-X main.GITCOMMIT=${GITCOMMIT} -X main.GOVERSION='${GOVERSION}' -X main.BUILDTIME='${BUILDTIME}' -X main.VERSION=${VERSION}"
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
all:
|
||||
go install
|
||||
|
||||
prep:
|
||||
go get -v -t -u .
|
|
@ -1,3 +1,3 @@
|
|||
run:
|
||||
go build
|
||||
./example-multiple-windows
|
||||
all:
|
||||
go get -v -t -u .
|
||||
go install
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
run:
|
||||
go run *.go
|
||||
all:
|
||||
go get -v -t -u .
|
||||
go install
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
run:
|
||||
go run *.go
|
||||
all:
|
||||
go get -v -t -u .
|
||||
go install
|
||||
|
|
Loading…
Reference in New Issue