pull/5261/head
Sarah Zakarias 6 years ago
parent bc00484bf7
commit f075cacaf4
  1. 3
      examples/Makefile
  2. 4
      examples/README.md

@ -35,8 +35,7 @@ protoc_middleman_go: addressbook.proto
protoc_middleman_dart: addressbook.proto
mkdir -p dart_tutorial # make directory for the dart package
protoc $$PROTO_PATH --dart_out=dart_tutorial addressbook.proto
protoc -I../src/ --dart_out=dart_tutorial ../src/google/protobuf/timestamp.proto
protoc -I ../src/:. --dart_out=dart_tutorial addressbook.proto ../src/google/protobuf/timestamp.proto
pub get
@touch protoc_middleman_dart

@ -135,8 +135,8 @@ Build the Dart samples in this directory with `make dart`.
To run the examples:
```sh
$ dart add_person.dart addessbook.data
$ dart list_people.dart addressbook.data
$ dart add_person.dart addessbook.data
$ dart list_people.dart addressbook.data
```
The two programs take a protocol buffer encoded file as their parameter.

Loading…
Cancel
Save