blob: 8cd82c7d8328f19a989a0d1650862dc4646a9357 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
.PHONY: README.md
all: README.md
@echo
@echo "make cmds # will run all the cmds"
@echo "make update # full git update"
@echo
make -C cmds/helloworld
# should update every go dependancy (?)
update:
git pull
go get -v -t -u ./...
cmds: cmds-buttonplugin cmds-console-ui-helloworld cmds-debug cmds-helloworld cmds-textbox
cmds-buttonplugin:
make -C cmds/buttonplugin
cmds-console-ui-helloworld:
make -C cmds/console-ui-helloworld
cmds-helloworld:
make -C cmds/helloworld
cmds-debug:
make -C cmds/debug
cmds-textbox:
make -C cmds/textbox
# sync repo to the github backup
github:
git push origin master
git push github master
doc:
GO111MODULE="off" godoc -v
# GO111MODULE=on go install github.com/posener/goreadme/cmd/goreadme@latest (worked Oct 20 2022)
README.md: doc.go
goreadme -factories -types -functions -variabless > README-goreadme.md
clean:
rm -f toolkit/*.so
plugins:
# GO111MODULE="off" go build -buildmode=plugin -o toolkit/test.so toolkit/gocui/*.go
make -C toolkit/gocui
|