Alibaba TableStore Service's proto files for Elixir.
- Run
brew install protobuf
on MacOS or similar command(s) to installprotobuf
in local.
- (Optional) Download
protoc
manually from protubuf release then remember to export environment.
- Use protox as the Elixir protobuf library (
protox
requires~> 1.2.4
), to generate the modules fromprotos/*.proto
files, in the root directory of this repo run the corresponding command as below:
mix protox.generate --keep-unknown-fields=false --multiple-files --output-path=lib --include-path=. protos/*.proto
- The generated
lib/*.ex
files will be used by Alibaba TableStore Elixir SDK as a dependence.