summaryrefslogtreecommitdiff
path: root/protobuf/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-20 05:58:33 -0600
committerJeff Carr <[email protected]>2023-12-20 05:58:33 -0600
commit85b9a036c289fe840e69e1852866f429b87cf63e (patch)
treeeb18f693027cd220f71c0fb015a67346d82a37cc /protobuf/Makefile
parent87ab9a958d9eb9f4db35d5c9f9ce923df3132dad (diff)
code moved to the cloudflare package
use the cloudflare package add a protobuf attempt better change detection, but formatting is broken don't redraw widgets if they are not visible create new dns entry worked attempting a DNS RR create attempt a create API call use cloudflare recommended ENV vars turn off debugging Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'protobuf/Makefile')
-rw-r--r--protobuf/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/protobuf/Makefile b/protobuf/Makefile
new file mode 100644
index 0000000..7dd70be
--- /dev/null
+++ b/protobuf/Makefile
@@ -0,0 +1,34 @@
+all:
+ # You must use the current protoc-gen-go
+ # protoc --version 3.6++ does not mean that protoc will generate version3 .go files
+ #
+ # apt remove golang-goprotobuf-dev
+ # apt install protobuf-compiler
+ #
+ # Then:
+ # go get -u github.com/golang/protobuf/protoc-gen-go
+ # cd ~/go/src/github.com/golang/protobuf/protoc-gen-go
+ # go install
+ #
+ # Then:
+ protoc --version
+ make widget.pb.go
+
+clean:
+ rm -f *.pb.go
+
+widget.pb.go: widget.proto
+ protoc --go_out=. widget.proto
+
+compile:
+ protoc --go_out=. *.proto
+
+deps:
+ apt install golang-goprotobuf-dev
+ apt install protobuf-compiler
+
+push:
+ git pull
+ git add --all
+ git commit -a -s
+ git push