File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
22
buf generate buf.build/protocolbuffers/wellknowntypes --path google/protobuf/wrappers.proto
23
23
# There's a bug in dart protoc where it doesn't understand that `call` is already taken
24
24
$(SED ) ' s/yield\* call(call, await request);/yield\* this\.call(call, await request);/g' ./lib/src/gen/proto/rpc/webrtc/v1/signaling.pbgrpc.dart
25
+ dart run tool/export_protos.dart
25
26
# similarly, there's a an issue where protoc generates types named `switch`, not recognizing
26
27
# that it's a reserved keyword
27
- find . -type f -name ' *.dart' -exec sed -i ' ' -e ' s/viam_protos.component.switch/viam_protos.component.nswitch/g' {} \;
28
+ mv lib/src/gen/component/switch lib/src/gen/component/nswitch
29
+ find . -type f -name ' *.dart' -exec sed -i ' ' -e ' s/viam_protos\.component\.switch/viam_protos\.component\.nswitch/g' {} \;
28
30
find . -type f -name ' *.dart' -exec sed -i ' ' -e ' s/\/src\/gen\/component\/switch/\/src\/gen\/component\/nswitch/g' {} \;
29
- dart run tool/export_protos.dart
30
31
31
32
setup :
32
33
dart pub global activate cider
You can’t perform that action at this time.
0 commit comments