all: compile # 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 # protoc --version clean: rm -f *.pb.go compile: protoc --go_out=guipb/ *.proto deps: apt install golang-goprotobuf-dev apt install protobuf-compiler #config.pb.go: config.proto # protoc --go_out=. config.proto push: git pull git add --all git commit -a -s git push