2022-11-06 12:59:24 -06:00
|
|
|
.PHONY: README.md
|
|
|
|
|
2022-10-21 13:02:25 -05:00
|
|
|
all: README.md
|
2021-10-06 11:17:43 -05:00
|
|
|
@echo
|
2022-11-09 08:38:50 -06:00
|
|
|
@echo "make cmds # will run all the cmds"
|
2021-10-06 11:17:43 -05:00
|
|
|
@echo "make update # full git update"
|
|
|
|
@echo
|
2022-10-21 13:02:25 -05:00
|
|
|
make -C cmds/helloworld
|
2021-10-06 11:17:43 -05:00
|
|
|
|
2019-05-08 15:04:18 -05:00
|
|
|
# should update every go dependancy (?)
|
|
|
|
update:
|
2021-10-06 11:17:43 -05:00
|
|
|
git pull
|
|
|
|
go get -v -t -u ./...
|
|
|
|
|
2022-11-09 08:38:50 -06:00
|
|
|
cmds: cmds-buttonplugin cmds-console-ui-helloworld cmds-debug cmds-helloworld cmds-textbox
|
2022-10-19 13:23:22 -05:00
|
|
|
|
2022-11-09 08:38:50 -06:00
|
|
|
cmds-buttonplugin:
|
|
|
|
make -C cmds/buttonplugin
|
2022-10-17 22:39:03 -05:00
|
|
|
|
2022-11-09 08:38:50 -06:00
|
|
|
cmds-console-ui-helloworld:
|
|
|
|
make -C cmds/console-ui-helloworld
|
|
|
|
|
|
|
|
cmds-helloworld:
|
2022-10-16 08:07:13 -05:00
|
|
|
make -C cmds/helloworld
|
2022-10-17 22:39:03 -05:00
|
|
|
|
2022-11-09 08:38:50 -06:00
|
|
|
cmds-debug:
|
|
|
|
make -C cmds/debug
|
|
|
|
|
|
|
|
cmds-textbox:
|
|
|
|
make -C cmds/textbox
|
2022-10-16 08:07:13 -05:00
|
|
|
|
2022-10-21 13:29:15 -05:00
|
|
|
# sync repo to the github backup
|
|
|
|
github:
|
|
|
|
git push origin master
|
|
|
|
git push github master
|
|
|
|
|
2022-10-16 08:07:13 -05:00
|
|
|
doc:
|
2022-10-19 13:23:22 -05:00
|
|
|
GO111MODULE="off" godoc -v
|
2022-10-21 11:40:08 -05:00
|
|
|
|
|
|
|
|
|
|
|
# GO111MODULE=on go install github.com/posener/goreadme/cmd/goreadme@latest (worked Oct 20 2022)
|
2022-10-21 13:02:25 -05:00
|
|
|
README.md: doc.go
|
2022-11-09 08:38:50 -06:00
|
|
|
goreadme -factories -types -functions -variabless > README-goreadme.md
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f toolkit/*.so
|
2022-11-06 12:59:24 -06:00
|
|
|
|
|
|
|
plugins:
|
2022-11-09 08:38:50 -06:00
|
|
|
# GO111MODULE="off" go build -buildmode=plugin -o toolkit/test.so toolkit/gocui/*.go
|
|
|
|
make -C toolkit/gocui
|