From 526605ff8733f14baa737246e2d817d42a556675 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 16 Nov 2024 09:49:49 -0600 Subject: add an example to build a custom .deb --- examples/protoc-gen-go/build | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 examples/protoc-gen-go/build (limited to 'examples/protoc-gen-go/build') diff --git a/examples/protoc-gen-go/build b/examples/protoc-gen-go/build new file mode 100755 index 0000000..f8e2b06 --- /dev/null +++ b/examples/protoc-gen-go/build @@ -0,0 +1,10 @@ +#!/bin/bash -x + +# this is the new protobuf generator +# +# go-clone google.golang.org/protobuf +# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go +# go install + +mkdir -p files/usr/bin +cp ~/go/bin/protoc-gen-go files/usr/bin -- cgit v1.2.3