mirror of
https://github.com/zap-proto/zap-es.git
synced 2026-11-02 04:07:39 +00:00
9 lines
241 B
Bash
Executable File
9 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
set -xe
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
cat json/data.json | capnp convert json:flat capnp/schema.capnp AddressBook > capnp/data.bin
|
|
|
|
buf convert protobuf/schema.proto --type pi0.test.AddressBook --from json/data.json > protobuf/data.bin
|