aboutsummaryrefslogtreecommitdiff
path: root/car/elegoo/gen.go
diff options
context:
space:
mode:
Diffstat (limited to 'car/elegoo/gen.go')
-rw-r--r--car/elegoo/gen.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/car/elegoo/gen.go b/car/elegoo/gen.go
new file mode 100644
index 0000000..76a8669
--- /dev/null
+++ b/car/elegoo/gen.go
@@ -0,0 +1,4 @@
+package main
+
+//go:generate sh -c "protoc -I.. --go_out=. ../*.proto"
+//go:generate sh -c "protoc -I.. --nanopb_out=.. ../*.proto"