m10_sdk

Last updated:

0 purchases

m10_sdk Image
m10_sdk Images
Add to Cart

Description:

m10 sdk

m10_sdk #
Generate protobuf code #
Make sure protoc_plugin version is 20.0.0 or later.
Run the following to upgrade:
pub global activate protoc_plugin
copied to clipboard
Add .pub-cache/bin in your home dir to your PATH.
Ensure protobuf-compiler is installed:
# Linux
sudo apt-get update && sudo apt-get install protobuf-compiler

# Mac
brew install protobuf
copied to clipboard
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/sdk/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/sdk/**/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/directory/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/firehose/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/google/*.proto
protoc --dart_out=grpc:lib/src/generated -I=../../protobuf/ ../../protobuf/google/protobuf/*.proto
copied to clipboard
How to run the tests #
pub run test ./test/all_test.dart
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.